Platforms to show: All Mac Windows Linux Cross-Platform
Back to JSONMBS class.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For objects returns number of keys.
Same as Count property.
(Read only property)
Some examples using this property:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please move to newer iterator functions instead.
(Read only property)
Some examples using this property:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is true.
Set to false to get formatted output.
Or call ToString method with parameter.
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For objects returns number of keys.
Same as ArraySize property.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
It is possible to have two Xojo objects with the same handle pointing to the same JSON node.
(Read only property)
JSONMBS.LastChildNode as JSONMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Some examples using this property:
JSONMBS.LastRowIndex as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Same as Count-1.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
See also:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please move to newer iterator functions instead.
(Read only property)
JSONMBS.PreviousNode as JSONMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please move to newer iterator functions instead.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The root node owns the references to all children.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This can give a value as more detailed meaning on the usage.
e.g. we often have strings to hold numbers to preserve all digits.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns "" on any error. Lasterror is set.
(Read only property)
See also:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This property was added for debugging so you can see type in debugger.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 16.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The handle is not zero and there are no error nodes in JSON tree.
Returns true if valid, else false.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Converts value to variant.
(Read only property)
See also:
JSONMBS.ValueBoolean as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 17.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if type is kTypeTrue, false if kTypeFalse or true if ValueInteger <> 0.
(Read only property)
Some examples using this property:
JSONMBS.ValueByteString as MemoryBlock
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil if type is not kTypeByteString.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Some examples using this property:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the node is an Int64, we return it.
Otherwise we try to convert it.
May raise exception if value can't be converted.
(Read only property)
Some examples using this property:
JSONMBS.ValueInteger as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the node is an integer, we return it.
Otherwise we try to convert it.
May raise exception if value can't be converted.
(Read only property)
Some examples using this property:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the node is an UInt64, we return it.
Otherwise we try to convert it.
May raise exception if value can't be converted.
(Read only property)
Some examples using this property:
The items on this page are in the following plugins: MBS Util Plugin.