Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class JsonRPCMarshaller

Hierarchy

java.lang.Object

Package
com.smartdevicelink.marshal

Constructors

JsonRPCMarshaller()

public JsonRPCMarshaller()

Methods

marshall( RPCMessage msg, byte version )

public static byte marshall(RPCMessage msg,byte version)

Parameters

msg
RPC message to be marshaled
version
protocol version

unmarshall( byte[] message )

public static java.util.Hashtable unmarshall(byte[] message)

Parameters

message

deserializeJSONObject( JSONObject jsonObject )

public static java.util.Hashtable deserializeJSONObject(JSONObject jsonObject) throws org.json.JSONException

Parameters

jsonObject

Throws

  • org.json.JSONException

serializeHashtable( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

public static org.json.JSONObject serializeHashtable(java.util.Hashtable<java.lang.String, java.lang.Object> hash) throws org.json.JSONException

Parameters

hash

Throws

  • org.json.JSONException

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section