Computer Beacon high quality .NET libraries in open source

Facebook Graph Toolkit v3.0 update

Posted on 3/14/2012

First of all, thanks Verat Yuthavong for the heads up at our Computer Beacon Facebook Page. I have been busy working on Metro apps recently so I was not aware of the changes. Anyway, Facebook has been in the progress of changing its app authorization process (as it always is), and as a result some of the authorization procedures in FGT has been updated. I have been receiving some emails asking about putting their applications in a Page Tab, and that class has been updated too with simplified ...

Optimized Json Toolkit: v3.0

Posted on 2/21/2012

Today I am proud to present to you the new Json Toolkit v3.0. This version brings significant performance improvement by using a completely redesigned parsing algorithm. The algorithm is much faster and has a speed up of more than 900% (i.e. 10 times faster) than the previous version. Here are some of the performance comparisons between v2.1 and v3.0 using real JSON data. The running time is measured by looping the parse operation from 1000 to 100000 times (depending on length and complexity ...

Json Toolkit 2.1 Update

Posted on 1/27/2012

The Json Toolkit has been updated to version 2.1 to fix a bug about deserializing data containing null values as reported by developers. The new library and the source code can be downloaded at CodePlex:  http://jsontoolkit.codeplex.com/ . Since Facebook Graph Toolkit does not use the deserialize feature at the moment, this fix does not affect applications that use FGT.

Deserializing JSON data in C#

Posted on 1/23/2012

Many web services today return data in JSON format instead of XML format because of the reduced overhead. APIs of Facebook and Bing are two examples. The new JSON Toolkit 2.0 supports an easy to use model for deserializing JSON data to C# classes, and can be used directly to convert JSON data to strongly typed data types. Consider the following JSON: {     "Height":1080,     "Width":1920,     "Name":"HD Frame" } Together with a C# class that corresponds to this data: class ImageInfo{     ...

Creating JsonObjects in C#

Posted on 1/15/2012

In this blog post I'll talk more about the JSON Toolkit. JSON encoded strings are widely used on the internet for data transmission or storage. Version 2.0 of JSON Toolkit adds features including creating and manipulating JSON objects. But first, let's talk about parsing JSON strings. Parsing JSON strings Let's say I have a text file with the following content: { "Image": { "Width": 800, "Height": 600, "Title": "View from 15th Floor", "Thumbnail": { "Url": ...


1 2 3 4 5 6 7 8 9 10 11 12 13