langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
14
Task/JSON/Objeck/json.objeck
Normal file
14
Task/JSON/Objeck/json.objeck
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
use Struct;
|
||||
use JSON;
|
||||
|
||||
bundle Default {
|
||||
class Json {
|
||||
function : Main(args : String[]) ~ Nil {
|
||||
parser := JSONParser->New("{ \"foo\": 1, \"bar\": [10, \"apples\"] }");
|
||||
root := parser->Parse();
|
||||
if(root <> Nil) {
|
||||
root->ToString()->PrintLine();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue