• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by marius.treu · Mar 23, 2013 at 04:52 PM · javascriptserializationjsonlibraryextension

JSON-Serializer (Renewed open)

Hi,

after I've tryed UnitySerializer, I'm not completely satisfied.

Is there any way to integrate t$$anonymous$$s library? http://msdn.microsoft.com/de-de/library/bb410770.aspx

Kind regards

Comment
Add comment · Show 10
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FWCorey · Mar 23, 2013 at 06:24 PM 1
Share

Given that it's a .Net4.5 library and Unity only officially supports .Net 2.0 I don't imagine so. Have you considered using LitJSON? It compiles fine under 2.0 and I've used it myself in Facebook app testing.

avatar image Julien-Lynge · Mar 23, 2013 at 07:06 PM 1
Share

@FWCorey, Actually, Unity's Mono supports many features of 3.0 and even 3.5. You can 'fake' many 4.0 and 4.5 features with extension methods - I've done that previously with SharpKml, for instance, which is .NET 4.0. Without knowing more about the asker's skill level, it's impossible to say whether he would be able to use that library - it's just not a specific, technical question we can answer.

@marius.treu's question wasn't "which JSON library should I use?", but if it had been, the right place for that discussion is the forums, not Unity Answers. There are in fact numerous discussions of JSON libraries on the forums, including LitJSON, and Marius, if that's what you're looking for we would be happy to give you links.

avatar image FWCorey · Mar 23, 2013 at 09:26 PM 1
Share

@marius.treu I'm glad everything worked out okay @Julien.Lynge Given the context of his question I wanted to try to be immediately helpful, but since it wasn't a specific answer I offered it as a suggestion in a comment rather than a full answer. After all we are all here to help one another.

avatar image Julien-Lynge · Mar 23, 2013 at 09:30 PM 1
Share

Yep, nice job. I was just worried this was going to turn into another opinion fest of 'this-or-that-library is the best.'

Glad you could help the asker - add an answer and I'll give you a thumbs up.

avatar image whydoidoit · Mar 23, 2013 at 10:30 PM 1
Share

And feel free to let me know what you didn't like about Unity Serializer by emailing me from the http://whydoidoit.com site.

Show more comments

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Hashtable as object literal serialization toJSON 0 Answers

How do I go about deserializing a json array? 3 Answers

What are the pros and cons of ScriptableObjects vs. JSON for data files? 2 Answers

Fast, easy serialization library for Unity? 0 Answers

UnityEngine.Object field pointing to Project file gets serialized by JSON as instance ID. After deserialization field points to different Object. Why? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges