JsonObject

JSON object, basically a table but more restricted to match JSON objects

JsonObject.remove

Remove value with specified key from object
overload 1:
JsonObject:remove(key)
Method Property Fluent Description Representation
key accepts a String
Return Value anything

JsonObject.get

Returns value bound to specified key. Consider using containsKey before, as object can contain nil values unlike regular table
overload 1:
JsonObject:get(key)
Method Property Fluent Description Representation
key accepts a String
Return Value anything

JsonObject.put

Puts provided value at specified key
overload 1:
JsonObject:put(key, value)
Method Property Fluent Description Representation
key accepts a String
value accepts anything
Return Value anything

JsonObject.clear

Clears this object
overload 1:
JsonObject:clear()
Method Property Fluent Description Representation
Return Value nil

JsonObject.size

Returns size of this object
overload 1:
JsonObject:size()
Method Property Fluent Description Representation
Return Value an Integer

JsonObject.containsKey

Does this object contains specified key
overload 1:
JsonObject:containsKey(key)
Method Property Fluent Description Representation
key accepts a String
Return Value a Boolean

JsonObject.containsValue

Does this object contains specified value
overload 1:
JsonObject:containsValue(value)
Method Property Fluent Description Representation
value accepts anything
Return Value a Boolean
a a