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
nainesh suthar
NA
17
556
Make Json String C#
Apr 1 2020 5:22 PM
I made a Json file in C# using the following:
var json2 = new {__meta = new Dictionary<string, object> { { "serviceInterfaceVersion", "1.0.0" }}};
var paylod2 = JsonConvert.SerializeObject(json2, Newtonsoft.Json.Formatting.Indented);
This will create json like
{ "__meta": {"serviceInterfaceVersion": "1.0.0"}}
Now i want made following json file how i do
{ "__meta": { "serviceInterfaceVersion": "1.0.0" },
"folderName": "..\\dm"
}
So, please guide me, thanks.
Nainesh
Reply
Answers (
4
)
how do i create new object out of list of object using linq
Azure SQL Server Database Assemblies