≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
is json possible?
Posted by:
(you are not logged in)
Enter the missing letter in: "?nternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: Here the output on the CopperCube "Message Log" Window: [quote] --> Test 1: use it to restore data from disk or stream ( JSON.parse ) -------------- TEST OK... "someTextObj" parsed on ( "myObj" ). --> Test 2: Get Fun..!, and access object variables: -------------------------------- myObj.prop1 = text-value-one --> Type: string myObj.prop2 = text-value-two --> Type: string myObj.prop3 = 3 --> Type: number myObj.prop4 = 4.4444 --> Type: number myObj.prop5 = true --> Type: boolean myObj.prop6 = false --> Type: boolean myObj.prop7 = null --> Type: object myObj.prop8 = 1,2,3 --> Type: object myObj.prop9 = one,two,three --> Type: object myObj.prop10 = [object Object] --> Type: object myObj.prop11 = Infinity --> Type: number myObj.prop12 = --> Type: string myObj.prop8[0] = 1 --> Type: number --> (value in Array) myObj.prop9[1] = two --> Type: string --> (value in Array) myObj.prop10.subp1 = hello --> Type: string --> (prop in Object) myObj.prop10.subp2 = world --> Type: string --> (prop in Object) --> Test 3: use it to store or stream ( JSON.stringify ) ----------------------------- {"prop1":"text-value-one","prop2":"text-value-two","prop3":3,"prop4":4.4444,"prop5":true,"prop6":false,"prop7":null,"prop8":[1,2,3],"prop9":["one","two","three"],"prop10":{"subp1":"hello","subp2":"world"},"prop11":Infinity,"prop12":" "} [/quote][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact