lucee.Componentcfboom.lang.Object
cfboom.gson.TypeAdapter
Converts Java objects to and from JSON.
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
jsonParser
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
any
|
createInstance(string class)
|
any
|
deserialize(string json, [string typeOfJson])
Default deserializer using the gson JsonParser. |
any
|
serialize(any src, [string typeOfSrc])
|
Methods inherited from class cfboom.lang.Object |
---|
$equals, getComponentName, getIdentityHashCode, getIdentityString, getMeta, hashCode, toString |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor.
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- JsonParser@cfboomGsonserializable
- trueMethod Detail |
---|
createInstance
in interface
InstanceCreator
class
Default deserializer using the gson JsonParser.
deserialize
in interface
JsonDeserializer
json
typeOfJson
serialize
in interface
JsonSerializer
src
typeOfSrc