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
Rahul Shinde
NA
7
0
C# object to json but some properties need to hide..
Jan 22 2015 1:05 AM
I am having a class named link
public class Link
{
public string rel { get; set; }
public string href { get; set; }
public string name { get; set; }
}
Using this class i have to create an json file ("JsonConvert.SerializeObject(Link)") but for some cases i dont want to hide name property and show only rel and href properties and other case i want show all of the 3 properties..
can you please suggest me what to do for this..
Reply
Answers (
2
)
Message Box
I need help on how to use the worker role to send email