Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added ablility to change " symbol arout the keys#43

Open
Strongleong wants to merge 1 commit into
caldwell:master from
Strongleong:key_surround
Open

Added ablility to change " symbol arout the keys #43
Strongleong wants to merge 1 commit into
caldwell:master from
Strongleong:key_surround

Conversation

@Strongleong

@Strongleong Strongleong commented Jul 4, 2022
edited
Loading

Copy link
Copy Markdown

I decide to implement #42 by myself. It was not hard 🙂
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
// .......
// }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /