ctrlX Data Layer API for .NET 5  2.1.0
IConverter Interface Reference

The converter interface. More...

Public Member Functions

DLR_RESULT IVariant value GenerateJsonComplex (IVariant valueFlatbuffers, IVariant typeFlatbuffers, int indentStep=0)
 
DLR_RESULT IVariant value GenerateJsonSimple (IVariant value, int indentStep=0)
 
DLR_RESULT IVariant value GetSchema (DLR_SCHEMA schema)
 
DLR_RESULT IVariant IVariant error ParseJsonComplex (string json, IVariant typeFlatbuffers)
 
DLR_RESULT IVariant IVariant error ParseJsonSimple (string json)
 

Public Attributes

DLR_RESULT result
 Generates a JSON string out of a simple data type Variant. More...
 
DLR_RESULT IVariant value
 

Detailed Description

The converter interface.

Definition at line 6 of file IConverter.cs.

Member Data Documentation

◆ result

DLR_RESULT result

Generates a JSON string out of a simple data type Variant.

Gets the schema

Parses a JSON string out of a complex data type Variant.

Parses a JSON string out of a simple data type Variant.

Generates a JSON string out of a complex data type Variant.

Parameters
valueValue to set
indentStepIndentation length for json string
Returns
Result of the method call
Parameters
valueFlatbuffersValue of the complex data type (flatbuffers)
typeFlatbuffersVariant which contains the type of data (flatbuffers)
indentStepIndentation length for json string
Returns
Result of the method call
Parameters
jsonData of the Variant as a json string
Returns
Result of the method call
Parameters
jsonData of the Variant as a json string
typeFlatbuffersVariant which contains the type of data (flatbuffers)
Returns
Result of the method call
Parameters
schemaRequested schema
Returns
Result of the method call

Definition at line 14 of file IConverter.cs.


The documentation for this interface was generated from the following file: