C# JSON Deserializer

randco
Posts: 12
Joined: Tue Dec 15, 2015 12:51 pm

C# JSON Deserializer

Postby randco » Thu Feb 18, 2016 6:05 am

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
Attachments
JSON.7z
(798.33 KiB) Downloaded 1554 times
Last edited by randco on Thu Jun 16, 2016 1:28 am, edited 1 time in total.

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: C# JSON Deserializer

Postby JS-Support @Userware » Thu Feb 18, 2016 7:34 am

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

randco
Posts: 12
Joined: Tue Dec 15, 2015 12:51 pm

Re: C# JSON Deserializer

Postby randco » Thu Feb 18, 2016 8:08 am

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

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: C# JSON Deserializer

Postby JS-Support @Userware » Mon Feb 22, 2016 5:38 am

I tested your CMS. Thanks a lot for sharing.
JS-Support

labbr01
Posts: 6
Joined: Fri Jul 17, 2015 10:20 am

Re: C# JSON Deserializer

Postby labbr01 » Tue Mar 22, 2016 6:58 am

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,
:)

randco
Posts: 12
Joined: Tue Dec 15, 2015 12:51 pm

Re: C# JSON Deserializer

Postby randco » Wed Mar 23, 2016 1:51 am

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 ;)

MichaelHughes
Posts: 41
Joined: Thu Oct 08, 2015 5:33 am

Re: C# JSON Deserializer

Postby MichaelHughes » Thu May 05, 2016 7:36 am

Did anything come about for a JSON extension please?

ghaladen
Posts: 2
Joined: Thu Jan 08, 2015 7:35 am

Re: C# JSON Deserializer

Postby ghaladen » Sat Jun 04, 2016 9:56 am

bump

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: C# JSON Deserializer

Postby JS-Support @Userware » Sat Jun 11, 2016 8:22 am


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


Return to “Extensions and Plugins for CSHTML5”

Who is online

Users browsing this forum: No registered users and 1 guest

 

 

cron