renderjson
renderjson copied to clipboard
Added ablility to change `"` symbol arout the keys
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:
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
// .......
// }