Difference between revisions of "ObjectType:jsonvalue"

From Lavish Software Wiki
Jump to navigation Jump to search
(Created page with "== Overview == {{ObjectType-Vitals|jsonvaluecontainer|LavishScript|none|same as AsString|jsonvaluecontainer|no|void *}} A '''jsonvalue''...")
 
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
{{ObjectType-Vitals|jsonvaluecontainer|[[LavishScript]]|none|same as AsString|[[ObjectType:jsonvaluecontainer|jsonvaluecontainer]]|no|void *}}
+
{{ObjectType-Vitals|jsonvalue|[[LavishScript]]|none|same as AsString|[[ObjectType:jsonvaluecontainer|jsonvaluecontainer]]|no|void *}}
  
 
A '''jsonvalue''' is an immutable json value
 
A '''jsonvalue''' is an immutable json value
  
 
== Members ==
 
== Members ==
* [[ObjectType:string|string]] AsString: The contained value as a string
+
* [[ObjectType:string|string]] '''AsString''': The contained value as a string
* [[ObjectType:string|string]] AsJSON: The contained value as single-line JSON text
+
* [[ObjectType:string|string]] '''AsJSON''': The contained value as single-line JSON text
* [[ObjectType:string|string]] AsJSON[multiline]: The contained value as multiline JSON text
+
* [[ObjectType:string|string]] '''AsJSON['''multiline''']''': The contained value as multiline JSON text
* ... Value: The contained value
+
* ... '''Value''': The contained value
* [[ObjectType:string|string]] Type: The type of JSON object stored; one of: null, object, string, number, array, true, false, integer. Note that while the JSON standard does not differentiate between floating-point numbers and integers, LavishScript does
+
* [[ObjectType:string|string]] '''Type''': The type of JSON object stored; one of: null, object, string, number, array, true, false, integer. Note that while the JSON standard does not differentiate between floating-point numbers and integers, LavishScript does
  
 
== Methods ==
 
== Methods ==
Line 15: Line 15:
  
 
== See Also ==
 
== See Also ==
* [[LavishScript]]
+
{{LavishScript:ObjectType}}
 
 
[[Category:LavishScript]]
 
 
[[Category:JSON]]
 
[[Category:JSON]]

Revision as of 16:21, 8 July 2018

Overview

Object Type Vitals
jsonvalue
Defined By LavishScript
Inherits none
Reduces To same as AsString
Variable Object Type jsonvaluecontainer
Uses Sub-Types no
C/C++ Type void *

A jsonvalue is an immutable json value

Members

  • string AsString: The contained value as a string
  • string AsJSON: The contained value as single-line JSON text
  • string AsJSON[multiline]: The contained value as multiline JSON text
  • ... Value: The contained value
  • string Type: The type of JSON object stored; one of: null, object, string, number, array, true, false, integer. Note that while the JSON standard does not differentiate between floating-point numbers and integers, LavishScript does

Methods

none.

See Also

LavishScript Object Types