Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to JSONMBS class.
JSONMBS.Sort(Reverse as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Reverse can be set to true in order to reverse the order.
JSONMBS.ToHTML(NoHeader as boolean = false, CSS as string = "") as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JavaScript Object Notation | MBS Util Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
We build for you a HTML with tables for each array and object. We include values and tag rows with even/odd CSS classes.
If NoHeader is true, you get just the raw table without header/footer.
Anything in CSS parameter is inserted before the table.
Returns HTML, which can be loaded in htmlviewer.
Example for CSS to do even/odd line backgrounds:
/* CSS style to include */
"<style>
td
{
vertical-align:top;
}
.odd
{
background-color: white;
}
.even
{
background-color: #DDD;
}
</style>"
JSONMBS.toString(formatted as boolean) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns "" on any error. Lasterror is set.
See also:
JSONMBS.Value(index As Integer) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Variant is converted to JSONMBS if needed.
Index must be in range from 0 to Count. If index is equal to count, we append the value on setting.
If the self is an empty object, we replace it with an empty array and add the value.
Same as ValueAt or Operator_Subscript.
Raises exception if index is out of range.
(Read and Write computed property)
See also:
JSONMBS.Value(Key As String) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Variant is converted to or from JSONMBS if needed.
Return value as variant.
Raises an exception if the value is not found.
(Read and Write computed property)
See also:
JSONMBS.ValueAt(index As Integer) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Variant is converted to JSONMBS if needed.
Index must be in range from 0 to Count. If index is equal to count, we append the value on setting.
If the self is an empty object, we replace it with an empty array and set the value.
Same as Value or Operator_Subscript.
Raises exception if index is out of range.
(Read and Write computed property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Convenience function to get all values.
Converts values to variants as needed.
Works for both objects and arrays.
Same as Operator_Convert method.
The items on this page are in the following plugins: MBS Util Plugin.