Installation
npm install --save @types/jsonabc
Summary
This package contains type definitions for jsonabc (http://novicelab.org/jsonabc).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonabc.
index.d.ts
/**
* Sort the JSON (clean, parse, sort, stringify).
* @param noArray Sort or don't sort arrays
*/
export function sort(inputStr: string, noArray?: boolean): string;
/**
* Sort the JSON (clean, parse, sort, stringify).
* @param noArray Sort or don't sort arrays
*/
export function sortObj<T extends object>(input: T, noArray?: boolean): T;
/** Remove trailing commas */
export function cleanJSON(input: string): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Florian Keller.