Einhugur JSON Plugin III for Xojo

JSONPrimitive.Int32ValueByKey Method

Gets or Sets Int32 value by key on a JSON object.

Int32ValueByKey(
   memberName as String) as Int32

Int32ValueByKey(
   memberName as String
   assigns value as Int32)

Parameters

memberName
Name of the member in the JSON object.
value (assignment parameter)
Value to set.

Returns

Int32
Result as Int32.

Remarks

The primitive needs to be actually JSONobject for this getter / setter method to work.

See Also

JSONPrimitive Class