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
John
NA
928
131.9k
how to convert json element to boolean or bool
Dec 22 2017 5:11 AM
how to convert the json object Summary and Expanded to bool
below is the expected result
"ID": 7,
"Title": "Software validation, research and implementation",
"ParentID": null,
"OrderID": 0,
"Start": "Date(1401667200000)",
"End": "Date(1405123200000)",
"PercentComplete": 0.43,
"Summary": true,
"Expanded": true
}, {
"ID": 11,
"Title": "Research",
"ParentID": 7,
"OrderID": 1,
"Start": "Date(1401667200000)",
"End": "Date(1402099200000)",
"PercentComplete": 0.43,
"Summary": true,
"Expanded": true
}, {
"ID": 12,
"Title": "Design",
"ParentID": 7,
"OrderID": 2,
"Start": "Date(1402272000000)",
"End": "Date(1402704000000)",
"PercentComplete": 0.60,
"Summary": true,
"Expanded": true
}
the actual output json is below
"ID": 7,
"Title": "Software validation, research and implementation",
"ParentID": null,
"OrderID": 0,
"Start": "Date(1401667200000)",
"End": "Date(1405123200000)",
"PercentComplete": 0.43,
"Summary": "true",
"Expanded": "true"
}, {
"ID": 11,
"Title": "Research",
"ParentID": 7,
"OrderID": 1,
"Start": "Date(1401667200000)",
"End": "Date(1402099200000)",
"PercentComplete": 0.43,
"Summary":"true",
"Expanded":"true"
}, {
"ID": 12,
"Title": "Design",
"ParentID": 7,
"OrderID": 2,
"Start": "Date(1402272000000)",
"End": "Date(1402704000000)",
"PercentComplete": 0.60,
"Summary": "true",
"Expanded":"true"
},
Reply
Answers (
2
)
What is MSIL in .Net Framework ?
Multiple Where Conditions In Linq