TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
veerendra chejerla
NA
84
3.5k
change values in json file
Feb 12 2020 7:32 AM
I have a myfile.json file present in the Release folder of my application. What I want to do is change the value of it, not temporarily, permanently.. That means, deleting the old entry, writing a new one and saving it.
Here is the format of the JSON file
{
"ID": 0,
"ChildID": 1,
"Text": "",
"PromptOption": "Is the connected to an AVR?!Yes$No",
"HeaderOption": "NULL",
"IsPrompt": false
},
{
"ID": 1,
"ChildID": 2,
"Text": "Disconnect and reconnect the HDMI cable.",
"PromptOption": "Did this resolve the issue?!Yes$No",
"HeaderOption": "Yes"
},
{
"ID": 2,
"ChildID": 3,
"Text": "break",
"PromptOption": "NULL",
"HeaderOption": "Yes"
},
{
"ID": 2,
"ChildID": 3,
"Text": "Try another HDMI input on the AVR",
"PromptOption": "Did this resolve the issue?!Yes$No",
"HeaderOption": "No"
},
based on child id i need edit the value and save the new value
Reply
Answers (
2
)
How to convert Object variable type into a string
how to combine two different database server