com.google.api.client.json
Class Json

java.lang.Object
  extended by com.google.api.client.json.Json

public class Json
extends Object

JSON utilities.

Since:
1.0
Author:
Yaniv Inbar

Field Summary
static String CONTENT_TYPE
          Deprecated. (scheduled to be removed in 1.11) Use MEDIA_TYPE instead.
static String MEDIA_TYPE
          "application/json; charset=utf-8" media type used as a default for JSON parsing.
 
Constructor Summary
Json()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE

@Deprecated
public static final String CONTENT_TYPE
Deprecated. (scheduled to be removed in 1.11) Use MEDIA_TYPE instead.
"application/json" content type.

See Also:
Constant Field Values

MEDIA_TYPE

public static final String MEDIA_TYPE
"application/json; charset=utf-8" media type used as a default for JSON parsing.

Use HttpMediaType.equalsIgnoreParameters(com.google.api.client.http.HttpMediaType) for comparing media types.

Since:
1.10
Constructor Detail

Json

public Json()


Copyright © 2011-2012 Google. All Rights Reserved.