Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help class header #67

Open
nerogcy opened this issue Apr 20, 2019 · 1 comment
Open

Help class header #67

nerogcy opened this issue Apr 20, 2019 · 1 comment

Comments

@nerogcy
Copy link

nerogcy commented Apr 20, 2019

pls help! i always get this kind of weird text behind my class object

!Object.Test,%2520Object.Test,%2520Version=1.0.0.0,%2520Culture=neutral,%2520PublicKeyToken=null
ObjectCollection:

@GuRenYiBeiAiHuangLiang
Copy link

var yourObject = new YourClass();
var config = new SerializerSettings();
config.RegisterTagMapping("YourName", typeof(YourClass));

var serialzer = new Serializer(config);
serialzer.Serialize(stream, yourObject);

Have a try, it works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants