Skip to content

darekf77/json10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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({})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published