Skip to content

Ignore Properties of custom objects doesn't work #65

@GoogleCodeExporter

Description

@GoogleCodeExporter
Dear Sir/Madam,

I like the library you created, but have one single issue.
I have custom objects in a framework/library i made.
When i serialize an object that hasn't a reference to an other object it works 
fine. When i have an object with one single reference it gets a circular 
reference back to the head object.


What steps will reproduce the problem?
1. I put the [JsonExIgnore] tag above the property
2. did add the code "serializer.Context.IgnoreProperty(typeof(Style), "ID");" 
to ignore the property
3. edited the web.config file to ensure it will be ignored

What is the expected output? What do you see instead?

I expect that the serializer ignored the property, but instead the property is 
still shown.

What version of the product are you using? On what operating system?

JsonExSerializer-3.1.1.279
Windows 7 Ultimate
Visual Studio 2010

Please provide any additional information below.

Original issue reported on code.google.com by jansseb...@gmail.com on 13 Apr 2012 at 12:08

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions