Android SDK Version


public class BundleJSONConverter
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
A helper class that can round trip between JSON and Bundle objects that contains the types: Boolean, Integer, Long, Double, String If other types are found, an IllegalArgumentException is thrown.
Nested Class Summary
Modifier and TypeClassDescription
public interfaceBundleJSONConverter.Setter
Field Summary
Modifier and TypeFieldDescription
public final static BundleJSONConverterINSTANCE
Method Summary
Modifier and TypeMethodDescription
final static JSONObjectconvertToJSON(Bundle bundle)
final static BundleconvertToBundle(JSONObject jsonObject)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

convertToJSON

 final static JSONObjectconvertToJSON(Bundle bundle)

convertToBundle

 final static BundleconvertToBundle(JSONObject jsonObject)