Properties

Class contains methods to manage the properties

Members

Functions

get
Nullable!T get(string path)

Get the node if the specified path is not a node

get
Nullable!T get()

Get the value of the node

getArray
Properties[] getArray(string path)

Get an array of properties on the specified path

getArray
Properties[] getArray()

Get an array of properties on the node

getObject
Properties[string] getObject(string path)

Get an associative array of object properties in the specified path

getObject
Properties[string] getObject()

Get an associative array of object properties in the node

getOrElse
T getOrElse(T alt)

Get the value, otherwise return the default value

getOrElse
T getOrElse(string path, T alt)

Get the node at the specified path, or return to the default value

isArray
bool isArray()

Check property is array

isNull
bool isNull()

Check property is null

isObject
bool isObject()

Check property is object

isType
bool isType()

Check type node

length
ulong length()

Returns the length of an object

opBinaryRight
bool opBinaryRight(string path)

Checking for the presence of the node in the specified path

opOpAssign
Properties opOpAssign(Properties src)

Recursive merge properties

set
void set(string path, T val)

Finding and installing a new value in the specified path

set
void set(string path, PropNode val)

Finding and installing a new value in the specified path

set
void set(T val)

Installing a new value in the node

sub
Nullable!Properties sub(string path)

Get a subset of properties in the specified path

toString
string toString()

The string representation

valueToObject
void valueToObject()

Convert value type to object

Meta