Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 706 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 706 Bytes

taon-json (json10)

  • Part of [taon.io](https://github.com/darekf77/
  • Helpers for OOP (Object Oriented Programming) in TypeScript.
  • JSON10 is a better version of well know JSON.
  • Purpose:
    • handle circural references in json objects
    • with JSON10 metadata you can stringify, parse circural objects
    • functionality similar to https://json5.org/, but with option to strinfify again to mix comments/json version

Usage

  • in taon isomorphic libs/apps or any NodeJS apps/libs:
import { JSON10 } from 'json10';
  • in any frontend browser apps (except taon lib/apps)
import { JSON10 } from 'json10/browser';

Use it instead JSON

JSON10.parse({})
JSON10.stringify({})