Platforms to show: All Mac Windows Linux Cross-Platform
JavaScript Object Notation
JSON, short for JavaScript Object Notation, is a lightweight computer data interchange format.
- Classes
- class JSONEntryMBS
- method Constructor
- method Constructor(other as JSONEntryMBS)
- property Item as Variant
- property Name as String
- class JSONIteratorMBS
- class JSONMBS
- method Add(Value as Variant)
- method AddAt(index As Integer, value As Variant)
- method AddItemToArray(item as JSONMBS)
- method AddItemToObject(label as string, value as JSONMBS)
- method AddOrReplaceItemToObject(label as string, value as JSONMBS)
- method Append(Value as Variant)
- shared method ApplyMergePatch(target as JSONMBS, patch as JSONMBS) as JSONMBS
- shared method ApplyPatch(target as JSONMBS, patch as JSONMBS) as JSONMBS
- method ArrayItem(index as integer, Clone as Boolean = false) as JSONMBS
- method ArrayItems(Clone as Boolean = false) as JSONMBS()
- method Clear
- method Clone as JSONMBS
- method Close
- method Compare(Other as JSONMBS) as Integer
- method Constructor
- method Constructor(dic As Dictionary)
- method Constructor(JSONString as String)
- method Constructor(other as JSONMBS)
- method Convert as Variant
- shared method Convert(value as variant) as JSONMBS
- method DeleteItem(index as Integer)
- method DeleteItem(label as string)
- method Entries as JSONEntryMBS()
- method Equals(Other as JSONMBS) as Boolean
- method FilterObjectArray(Name as String, Other as JSONMBS) as JSONMBS
- method FindValueInArray(Other as JSONMBS, StartIndex as Integer = 0) as Integer
- method FindValueInObjectArray(Name as String, Other as JSONMBS, StartIndex as Integer = 0) as Integer
- shared method Flatten(value as JSONMBS) as JSONMBS
- method HasChild(label as string) as Boolean
- method HasKey(Key as string) as boolean
- method HasName(Name as string) as boolean
- method Insert(index as integer, value as variant)
- method Iterate as JSONIteratorMBS
- method IterateEntries as JSONIteratorMBS
- method IterateValues as JSONIteratorMBS
- shared method JSONObjectCount as Integer
- method KeyAt(index As Integer) as String
- method Keys as String()
- method Load(JSONString as String)
- method Lookup(Key As String, defaultValue As Variant = nil) as Variant
- method Merge(Other as JSONMBS)
- shared method MergePatchFromDiff(source as JSONMBS, target as JSONMBS) as JSONMBS
- method Name(index As Integer) as String
- method NameAt(index As Integer) as String
- method Names as String()
- shared method NewArrayNode as JSONMBS
- shared method NewBooleanNode(value as Boolean) as JSONMBS
- shared method NewBoolNode(value as boolean) as JSONMBS
- shared method NewByteStringNode(Bytes as MemoryBlock) as JSONMBS
- shared method NewByteStringNode(Bytes as ptr, Length as UInt64) as JSONMBS
- shared method NewByteStringNode(Bytes as String) as JSONMBS
- shared method NewCurrencyNode(value as Currency) as JSONMBS
- shared method NewDoubleArray(values() as Double) as JSONMBS
- shared method NewFalseNode as JSONMBS
- shared method NewInt32Array(values() as Int32) as JSONMBS
- shared method NewInt64Array(values() as Int64) as JSONMBS
- shared method NewInt64Node(value as Int64) as JSONMBS
- shared method NewIntegerArray(values() as Integer) as JSONMBS
- shared method NewNullNode as JSONMBS
- shared method NewNumberNode(value as Double) as JSONMBS
- shared method NewNumberNode(value as string) as JSONMBS
- shared method NewObjectNode as JSONMBS
- shared method NewStringArray(values() as string) as JSONMBS
- shared method NewStringNode(value as string) as JSONMBS
- shared method NewTrueNode as JSONMBS
- shared method NewUInt32Array(values() as UInt32) as JSONMBS
- shared method NewUInt64Array(values() as UInt64) as JSONMBS
- shared method NewUInt64Node(value as UInt64) as JSONMBS
- method Operator_Compare(Other as JSONMBS) as Integer
- method Operator_Convert as Variant()
- method Operator_Convert(dic As Dictionary)
- shared method PatchFromDiff(source as JSONMBS, target as JSONMBS) as JSONMBS
- shared method PatchFromDiff(source as JSONMBS, target as JSONMBS, KeyToCopy as String) as JSONMBS
- method Query(Path as string, Options as Integer = 0) as JSONMBS
- method Remove(Index as Integer)
- method Remove(Key as string)
- method RemoveAt(Index as Integer)
- method Replace(Path as string, NewValue as Variant) as JSONMBS
- method Search(Path as string) as JSONMBS
- method Sort(Reverse as boolean = false)
- method ToHTML(NoHeader as boolean = false, CSS as string = "") as String
- method toString(formatted as boolean) as string
- shared method Unflatten(value as JSONMBS) as JSONMBS
- method Values as Variant()
- property ArraySize as Integer
- shared property ByteStringEncoding as Integer
- shared property CaseSensitive as Boolean
- property ChildNode as JSONMBS
- property Compact as Boolean
- property Count as Integer
- property Handle as Integer
- property IsArray as Boolean
- property IsBoolean as Boolean
- property IsEmpty as Boolean
- property IsInt32 as Boolean
- property IsInt64 as Boolean
- property IsNull as Boolean
- property IsNumber as Boolean
- property IsObject as Boolean
- property IsUInt32 as Boolean
- property IsUInt64 as Boolean
- property LastChildNode as JSONMBS
- property LastRowIndex as Integer
- shared property LineLengthLimit as Integer
- property Name as String
- shared property NewLineCharacters as String
- property NextNode as JSONMBS
- property PreviousNode as JSONMBS
- property Root as JSONMBS
- property Tag as Integer
- property toString as String
- property Type as Integer
- property TypeName as String
- property Valid as Boolean
- property Value as Variant
- property ValueBoolean as Boolean
- property ValueByteString as MemoryBlock
- property ValueDouble as Double
- property ValueInt64 as Int64
- property ValueInteger as Integer
- property ValueString as String
- property ValueUInt64 as UInt64
- property Child(index As Integer) as JSONMBS
- property Child(Key As String) as JSONMBS
- property ChildAt(index As Integer) as JSONMBS
- property Operator_Subscript(index As Integer) as Variant
- property Value(index As Integer) as Variant
- property Value(Key As String) as Variant
- property ValueAt(index As Integer) as Variant
- class JSONEntryMBS
- Blog Entries
Release notes
- Version 24.2
- Improved ToHTML method in JSONMBS class to use CSS for right alignment.
- Added Merge function to JSONMBS class.
- Version 24.1
- Version 24.0
- Added ApplyMergePatch, ApplyPatch, MergePatchFromDiff, PatchFromDiff to JSONMBS class.
- Added Hidden attribute to JSONIteratorMBS, XMLIterateAttributeNodesMBS, XMLIterateChildNodesMBS, XMLIterateElementsMBS, DynaPDFIteratorMBS and PCRE2IteratorMBS classes to hide it from auto complete. Since you use it via for each loops indirectly, you never need to use these classes directly.
- Fixed an endless loop in JSONMBS class when running Search function with a bad query. Now propergates the exception properly.
- Improved array conversion from Xojo array to JSONMBS array.
- Improved handling of arrays for our JSON to HTML conversion for JSONMBS class.
- Version 23.5
- Rewrote JSONMBS class.
- Added Search to JSONMBS class to perform JMESPath queries in Xojo.
- Added Query and Replace functions for JSONMBS class.
- Added ByteStringEncoding shared property to JSONMBS class.
- Added Compact and CaseSensitive properties for JSONMBS class.
- Added Flatten and Unflatten functions for JSONMBS class.
- Added LineLengthLimit and NewLineCharacters shared properties to JSONMBS class.
- Added NewByteStringNode method to JSONMBS class.
- Added ValueByteString property in JSONMBS class.
- Fixed an issue with JSONMBS returning single instead of double value.
- Fixed IsInt64 property in JSONMBS class to not mark number like strings as number.
- Version 23.3
- Version 23.1
- Fixed a crash in ToHTML method in JSONMBS class.
- Version 23.0
- Version 22.5
- Version 21.5
- Added StartIndex parameter to FindValueInArray and FindValueInObjectArray methods in JSONMBS class, so you can repeat search until nothing more is found.
The items on this page are in the following plugins: MBS Util Plugin.