Page 1 of 1

C# JSON Deserializer

Posted: Thu Feb 18, 2016 6:05 am
by randco
Hey guys,
I saw a lot of you wished to have a JSON Deserializer for CSHTML5, so I started to create one. In the Attachement you find a first preview with a working example. Tell me if it works well :)
Greetz,
Kevin

Re: C# JSON Deserializer

Posted: Thu Feb 18, 2016 7:34 am
by JS-Support @Userware
Great job! Thanks a lot for posting this extension.

I've just tested it and it appears to work very well!

Note: For those who encounter issues with the compiler saying that it cannot find "CSharpXamlForHtml5.dll", please be sure to put the file "JSON.dll" into the following location and update the reference in your project to point to that location:
C:\Program Files (x86)\MSBuild\CSharpXamlForHtml5\AssembliesToReference\
UPDATE: The issue has been fixed in v1.0 Beta 7.2.


Again, congrats!

Regards,
JS-Support

Re: C# JSON Deserializer

Posted: Thu Feb 18, 2016 8:08 am
by randco
JS-Support wrote:Great job! Thanks a lot for posting this extension.

I've just tested it and it appears to work very well!

Note: For those who encounter issues with the compiler saying that it cannot find "CSharpXamlForHtml5.dll", please be sure to put the file "JSON.dll" into the following location and update the reference in your project to point to that location:
C:\Program Files (x86)\MSBuild\CSharpXamlForHtml5\AssembliesToReference\
UPDATE: The issue has been fixed in v1.0 Beta 7.2.


Again, congrats!

Regards,
JS-Support


Thank you,
the classes are parts of my master thesis. I wrote a CMS which allows you to create or merge content and build automatically Windows Phone apps and Websites automatically without programming knowledge. The scaffold for the Website creation is realized with CSHTML5 so thank you for that project. You can download and test it under http://randco.square7.ch/Cesedui%20alpha.zip (for now it's just in German language).
Regards,
Kevin

Re: C# JSON Deserializer

Posted: Mon Feb 22, 2016 5:38 am
by JS-Support @Userware
I tested your CMS. Thanks a lot for sharing.
JS-Support

Re: C# JSON Deserializer

Posted: Tue Mar 22, 2016 6:58 am
by labbr01
I can't find the «attachement», is the source code or output dll still available, i would like to test, There is a lot of Json involve with ArcGIS Server communication.

Tanks,
:)

Re: C# JSON Deserializer

Posted: Wed Mar 23, 2016 1:51 am
by randco
labbr01 wrote:I can't find the «attachement», is the source code or output dll still available, i would like to test, There is a lot of Json involve with ArcGIS Server communication.

Tanks,
:)


There were performance issues with the current version. I will fix it and post a new attachment ;)

Re: C# JSON Deserializer

Posted: Thu May 05, 2016 7:36 am
by MichaelHughes
Did anything come about for a JSON extension please?

Re: C# JSON Deserializer

Posted: Sat Jun 04, 2016 9:56 am
by ghaladen
bump

Re: C# JSON Deserializer

Posted: Sat Jun 11, 2016 8:22 am
by JS-Support @Userware

A new extension based on the native JavaScript methods "JSON.stringify" and "JSON.Parse" is now available at the following URL:

http://forums.cshtml5.com/viewtopic.php?f=7&t=5478


Thank you.
The CSHTML5 Team