Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 381233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:03:56+00:00 2026-05-12T15:03:56+00:00

Within an ASP.NET application, I’d like to serialize a collection of plain-old-CLR-objects (POCO) to

  • 0

Within an ASP.NET application, I’d like to serialize a collection of plain-old-CLR-objects (POCO) to a JSON string, which will then be sent down to the client as part of a web response.

Is there a light-weight C# library that does this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:03:57+00:00Added an answer on May 12, 2026 at 3:03 pm

    Try DataContractJsonSerializer:

    Serializes objects to the JavaScript
    Object Notation (JSON) and
    deserializes JSON data to objects.

    Use the DataContractJsonSerializer
    class to serialize instances of a type
    into a JSON document and to
    deserialize a JSON document into an
    instance of a type. For example, you
    can create a type named Person with
    properties that contain essential
    data, such as a name and address. You
    can then create and manipulate an
    instance of the Person class and write
    all of its property values in a JSON
    document for later retrieval. This
    JSON document can later be
    deserialized into the Person class or
    another class with an equivalent data
    contract.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've discovered recently that when using the Session or Application objects within an ASP.net
Within an web.config -file in an ASP.NET-application some sections of config, like appSettings and
Within an asp.net application I have a list of categories objects, within this list
I am using quartz.net to schedule regular events within asp.net mvc application. The scheduled
I have a form within an ASP.NET MVC application and I'm trying to submit
I'm using Linq to SQL within an ASP.NET MVC application. The model consists of
I'm writing a ASP.NET application used within our company. Now I want to send
I am looking at an asp.net application that makes calls to a database within
We have a ASP .Net application whereby we use Log4Net to log details within
I’m using authentication with Active Directory within an ASP .NET MVC3 web application. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.