JSON_TYPE_* Constant Group

From NWN Lexicon
Jump to: navigation, search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.
Return type of JsonGetType.


Constants

Constant Value Description
JSON_TYPE_ARRAY 2 Array JSON type, can be manually created with JsonArray.
JSON_TYPE_BOOL 6 Boolean JSON type, can be manually created with JsonBool.
JSON_TYPE_FLOAT 5 Float JSON type, can be manually created with JsonFloat.
JSON_TYPE_INTEGER 4 Integer JSON type, can be manually created with JsonInt.
JSON_TYPE_NULL 0 Null or Invalid JSON type. Use this to test if the Json value is valid. Can be manually created with JsonNull.
JSON_TYPE_OBJECT 1 Object JSON type, can be manually created with JsonObject.
JSON_TYPE_STRING 3 String JSON type, can be manually created with JsonString.


Version

This constants group was added in 1.85.8193.31 of NWN:EE.


See Also

functions: JsonGetType