@synotech/utils
Version:
a collection of utilities for internal use
12 lines (11 loc) • 352 B
TypeScript
/**
* This function returns a well structured json object
* @module toJSON
* @param {string} object - a stringified object in string format
* @return {object} {Object} a well structured json object
* @example
*
* toJSON('{"name":"John Doe"}') // returns {"name": "John Doe"}
*
*/
export declare const toJSON: (object: any) => any;