Socket
Socket
Sign inDemoInstall

json2

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json2

json2 / native JSON normalizer for Joose


Weekly downloads
1.7K
increased by33.6%
Maintainers
0
Weekly downloads
 
Created
Source

Name

JSON2 - json2 / native JSON normalizer for Joose

SYNOPSIS

    // bunlde will include the json2.js lib
    <script src = "/jsan/lib/Task/JSON2/Bundle.js"></script>

    
    // `use` will load it on-demand (requires JooseX.Namespace.Depended)
    use('JSON2', function () {
    
        var str = JSON2.stringify([])
        
        var arr = JSON2.parse('[]')
    })

    

DESCRIPTION

JSON2 is a normalizing wrapper around the json2 library and native JSON implementation in supporting browsers.

USAGE

Since its only a thin wrapper you should only use the features intersection between json2 & native JSON. For example, seems the native implementation of JSON.parse in FF do not accept 2nd argument.

GETTING HELP

This extension is supported via github issues tracker: http://github.com/SamuraiJack/JSON2/issues

For general Joose questions you can also visit #joose on irc.freenode.org or the mailing list at: http://groups.google.com/group/joose-js

SEE ALSO

Using JSON in Firefox

BUGS

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs through the web interface at http://github.com/SamuraiJack/JSON2/issues

AUTHORS

Nickolay Platonov nplatonov@cpan.org

This software is Copyright (c) 2010 by Nickolay Platonov.

This is free software, licensed under:

The GNU Lesser General Public License, Version 3, June 2007

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc