- Developed by Dented Pixel
API Docs for: LeanLoader 0.2
Show:

LeanJSON Class

Defined in: LeanLoader.cs:36

JSON object for parsing a string into a useable JSON object

Constructor

LeanJSON

(
  • str:String
)

Defined in LeanLoader.cs:36

Parameters:

  • str:String String

    String of representing the JSON object (will be parsed and made into an easily readable Dictionary object)

Item Index

Methods

Array

(
  • key:String
)
Array

Defined in LeanLoader.cs:189

Retrieve the an array for the associated key (returns a LeanJSON[] Array).

Parameters:

  • key:String String

    String The key of the associated array you wish to retrieve

Returns:

Array:

LeanJSON[] Array for key

Boolean

(
  • key:String
)
Boolean

Defined in LeanLoader.cs:320

Retrieve the boolean value for the associated key

Parameters:

  • key:String String

    String The key of the associated string you wish to retrieve

Returns:

Boolean:

Value for key

Double

(
  • key:String
)
Double

Defined in LeanLoader.cs:287

Retrieve the double value for the associated key

Parameters:

  • key:String String

    String The key of the associated string you wish to retrieve

Returns:

Double:

Value for key

Float

(
  • key:String
)
Float

Defined in LeanLoader.cs:298

Retrieve the float value for the associated key

Parameters:

  • key:String String

    String The key of the associated string you wish to retrieve

Returns:

Float:

Value for key

Int

(
  • key:String
)
Int

Defined in LeanLoader.cs:309

Retrieve the int value for the associated key

Parameters:

  • key:String String

    String The key of the associated string you wish to retrieve

Returns:

Int:

Value for key

Object

(
  • key:String
)
LeanJSON

Defined in LeanLoader.cs:178

Retrieve the object on the associated key (this is used when the JSON has nested JSON objects)

Parameters:

  • key:String String

    String The key of the associated object you wish to retrieve

Returns:

LeanJSON:

Value for key

String

(
  • key:String
)
String

Defined in LeanLoader.cs:276

Retrieve the string the associated key

Parameters:

  • key:String String

    String The key of the associated string you wish to retrieve

Returns:

String:

Value for key