Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 79 lines (39 sloc) 1.698 kB
d152174 - some progress
Nickolay Platonov authored
1 Name
2 ====
3
4 JSON2 - json2 / native JSON normalizer for Joose
5
6
7 SYNOPSIS
8 ========
9
10 // bunlde will include the json2.js lib
11 <script src = "/jsan/lib/Task/JSON2/Bundle.js"></script>
12
13
14 // `use` will load it on-demand (requires JooseX.Namespace.Depended)
15 use('JSON2', function () {
16
17 var str = JSON2.stringify([])
18
19 var arr = JSON2.parse('[]')
20 })
21
22
23
24
25 DESCRIPTION
26 ===========
27
28 `JSON2` is a normalizing wrapper around the json2 library and native JSON implementation in supporting browsers.
29
30
31 USAGE
32 =====
33
34 Since its only a thin wrapper you should only use the features intersection between json2 & native JSON. For example,
35 seems the native implementation of `JSON.parse` in FF do not accept 2nd argument.
36
37
38 GETTING HELP
39 ============
40
41 This extension is supported via github issues tracker: <http://github.com/SamuraiJack/JSON2/issues>
42
43 For general Joose questions you can also visit [#joose](http://webchat.freenode.net/?randomnick=1&channels=joose&prompt=1)
44 on irc.freenode.org or the mailing list at: <http://groups.google.com/group/joose-js>
45
46
47
48 SEE ALSO
49 ========
50
51 [Using JSON in Firefox](https://developer.mozilla.org/en/Using_JSON_in_Firefox)
52
53 BUGS
54 ====
55
56 All complex software has bugs lurking in it, and this module is no exception.
57
58 Please report any bugs through the web interface at <http://github.com/SamuraiJack/JSON2/issues>
59
60
61
62 AUTHORS
63 =======
64
65 Nickolay Platonov <nplatonov@cpan.org>
66
67
68
69
70
71 COPYRIGHT AND LICENSE
72 =====================
73
74 This software is Copyright (c) 2010 by Nickolay Platonov.
75
76 This is free software, licensed under:
77
78 The GNU Lesser General Public License, Version 3, June 2007
Something went wrong with that request. Please try again.