Open Strongleong opened 2 years ago
I decide to implement #42 by myself. It was not hard :slightly_smiling_face: I added set_key_surronud_symbol function to API. It accepts string and wrappes keys around it:
set_key_surronud_symbol
renderjson.set_key_surround_symbol('"'); renderjson(data) // Output: // "key1": { // "key2": "a", // "key3": 5 // ....... // } renderjson.set_key_surround_symbol("|"); renderjson(data) // Output: // |key1|: { // |key2|: "a", // |key3|: 5 // ....... // }
I decide to implement #42 by myself. It was not hard :slightly_smiling_face: I added
set_key_surronud_symbol
function to API. It accepts string and wrappes keys around it: