Created
May 28, 2012 19:25
-
-
Save Kami/2820793 to your computer and use it in GitHub Desktop.
Swiz - serialization example (output - JSON for public)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| JSON (for public): | |
| { | |
| "id": "15245", | |
| "is_active": true, | |
| "name": "server #1", | |
| "agent_name": "some agent", | |
| "opts": { | |
| "option1": "defaultval", | |
| "option2": "defaultval", | |
| "option3": "something" | |
| }, | |
| "data": { | |
| "foo": "thingone", | |
| "bar": "thingtwo" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment