Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding new array nodes [ {}, {}, ... ] in json ? #87

Open
pZq opened this issue May 3, 2019 · 0 comments
Open

adding new array nodes [ {}, {}, ... ] in json ? #87

pZq opened this issue May 3, 2019 · 0 comments

Comments

@pZq
Copy link

pZq commented May 3, 2019

"EndPoints": [
{
"ServerTypes": [ "All" ],
"ChannelName": "channel-1",
"SynchronousCallTimeout": 30000
}
]

I would need the node above to be created but it seems its not possible to create this.
Only way to achieve this is to change the original json to be like
"EndPoints": [
{ }
]

Then transforming like this:
{
"EndPoints[0]/ServerTypes[]`0":"All",
"EndPoints[0]/ChannelName":"channel-1",
"EndPoints[0]/SynchronousCallTimeout":"30000"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant