NeKernel dev
Loading...
Searching...
No Matches
Kernel::Json Class Referencefinal

JavaScript object class. More...

#include <Json.h>

Public Member Functions

 Json ()
 Json (SizeT lhsLen, SizeT rhsLen)
 ~Json ()=default
BoolIsUndefined ()
KStringAsKey ()
 returns the key of the json
KStringAsValue ()
 returns the value of the json.

Static Public Attributes

static Json kNull

Private Attributes

Bool fUndefined
KString fKey
KString fValue

Detailed Description

JavaScript object class.

Constructor & Destructor Documentation

◆ Json() [1/2]

Kernel::Json::Json ( )
inlineexplicit

◆ Json() [2/2]

Kernel::Json::Json ( SizeT lhsLen,
SizeT rhsLen )
inlineexplicit

◆ ~Json()

Kernel::Json::~Json ( )
default

Member Function Documentation

◆ AsKey()

KString & Kernel::Json::AsKey ( )
inline

returns the key of the json

Returns
the key as string view.

◆ AsValue()

KString & Kernel::Json::AsValue ( )
inline

returns the value of the json.

Returns
the key as string view.

◆ IsUndefined()

Bool & Kernel::Json::IsUndefined ( )
inline

Member Data Documentation

◆ fKey

KString Kernel::Json::fKey
private

◆ fUndefined

Bool Kernel::Json::fUndefined
private

◆ fValue

KString Kernel::Json::fValue
private

◆ kNull

Json Kernel::Json::kNull
static

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