nette_neon 0.0.5

Nette Object Notation - Neon javascript library port to dart.

Neon - dart

neon javascript library ported to dart.

This project is WIP

Lots of tests are not handled. Some results are not stable. Currently working on proper return value from decode function.

Installation

You need to import javascript library to page. Then you can use this package in your dart app.

API

Trying to mirror behavior from matej21.

decode (input)

NMap result = decode(input);

encode (var [, options])

Map data = {'foo': 'bar'};
String result = encode(data);