JSONMBS constants

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.

Byte String Encoding

JSONMBS.kByteStringEncodingBase64 = 2

Type Topic Plugin Version
const JavaScript Object Notation MBS Util Plugin 23.5
One of the encodings used for byte string.
Example
Dim mem As MemoryBlock = "Hello World"

Dim dic As New Dictionary
dic.Value("test") = mem

Dim j As New JSONMBS(dic)
j.ByteStringEncoding = j.kByteStringEncodingBase64
MessageBox j.toString
// {"test":"SGVsbG8gV29ybGQ="}

Base64 encoding

JSONMBS.kByteStringEncodingBase64URL = 3

Type Topic Plugin Version
const JavaScript Object Notation MBS Util Plugin 23.5
One of the encodings used for byte string.
Example
Dim mem As MemoryBlock = "Hello World"

Dim dic As New Dictionary
dic.Value("test") = mem

Dim j As New JSONMBS(dic)
j.ByteStringEncoding = j.kByteStringEncodingBase64
MessageBox j.toString
// {"test":"SGVsbG8gV29ybGQ="}

j.ByteStringEncoding = j.kByteStringEncodingBase64URL
MessageBox j.toString
// {"test":"SGVsbG8gV29ybGQ"}

Base64 URL encoding

JSONMBS.kByteStringEncodingHex = 1

Type Topic Plugin Version
const JavaScript Object Notation MBS Util Plugin 23.5
One of the encodings used for byte string.
Example
Dim mem As MemoryBlock = "Hello World"

Dim dic As New Dictionary
dic.Value("test") = mem

Dim j As New JSONMBS(dic)
j.ByteStringEncoding = j.kByteStringEncodingHex
MessageBox j.toString
// {"test":"48656C6C6F20576F726C64"}

Hex encoding.

JSONMBS.kByteStringEncodingNone = 0

Type Topic Plugin Version
const JavaScript Object Notation MBS Util Plugin 23.5
One of the encodings used for byte string.

Fallback to default behavior.

The items on this page are in the following plugins: MBS Util Plugin.


💬 Ask a question or report a problem