GithubHelp home page GithubHelp logo

thealexander / json Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moritz/json

0.0 3.0 0.0 177 KB

A tiny JSON parser and emitter for Perl 6 on Rakudo

Home Page: A JSON parser and emitter for Perl 6 on Rakudo

Perl 6 100.00%

json's Introduction

A simple Perl 6 module for serializing and deserializing JSON.

  use JSON::Tiny;
  say from-json('{ "a": 42 }').perl;
  say to-json { a => [1, 2, 'b'] };

JSON::Tiny implements RFC7159, which is a superset of ECMA-404, in that it
permits any value as a top-level JSON string, not just arrays and objects.

All files (unless noted otherwise) can be used, modified and redistributed
under the terms of the Artistic License Version 2. Examples (in the
documentation, in tests or distributed as separate files) can be considered
public domain.

To build and test this module, please get 'ufo' from
http://github.com/masak/ufo and run:

    ufo
    make
    make test

(You would normally be able to install this with panda, but it happens to be
one of the prerequisites for panda itself -- so until Rakudo does automatic
recompiles, panda will become very confused after completing the install.
New, tested versions of this module should be imported into panda's source
in ext/JSON__Tiny/, and panda's reboostrap.pl run. On the upside this means
that installing panda gives you JSON::Tiny right away.)

State:

    Works.

Missing features:

 * Detection of cycles in input data structures (might never be fixed)

Credits
    Moritz Lenz <[email protected]>
    Johan Viklund
    Jonathan Worthington

json's People

Contributors

moritz avatar viklund avatar jnthn avatar japhb avatar colomon avatar supernovus avatar afiskon avatar laben avatar mouq avatar rjbs avatar froggs avatar uasi avatar

Watchers

James Cloos avatar Brayan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.