Type
in package
Type of a JSON value.
Protobuf type exprml.v1.Value.Type
Table of Contents
Constants
- ARR = 5
- Array type.
- BOOL = 2
- Boolean type.
- NULL = 1
- Null type.
- NUM = 3
- Number type.
- OBJ = 6
- Object type.
- STR = 4
- String type.
- UNSPECIFIED = 0
- Unspecified.
Methods
Constants
ARR
Array type.
public
mixed
ARR
= 5
Generated from protobuf enum ARR = 5;
BOOL
Boolean type.
public
mixed
BOOL
= 2
Generated from protobuf enum BOOL = 2;
NULL
Null type.
public
mixed
NULL
= 1
Generated from protobuf enum NULL = 1;
NUM
Number type.
public
mixed
NUM
= 3
Generated from protobuf enum NUM = 3;
OBJ
Object type.
public
mixed
OBJ
= 6
Generated from protobuf enum OBJ = 6;
STR
String type.
public
mixed
STR
= 4
Generated from protobuf enum STR = 4;
UNSPECIFIED
Unspecified.
public
mixed
UNSPECIFIED
= 0
Generated from protobuf enum UNSPECIFIED = 0;
Methods
name()
public
static name(mixed $value) : mixed
Parameters
- $value : mixed
value()
public
static value(mixed $name) : mixed
Parameters
- $name : mixed