Skip to content

PhamNguyen/Imagine.Uwp.Json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Json Parse for Universal Windows Platform

Library for deserialize json string to c# object.

nuget

Install-Package Imagine.Uwp.Json

#public static T Json.Parse(jsonString)


T: c# class or type.
jsonString: json string for deserialize to object

Sample:
// Setup deserialize property by Sign("property")
public class User{
         [Sign("id")]
         public string Id {set; get;}

         [Sign("name")]
         public string Name{set; get;}
}
// Request user data 
String _data = restClient.RequestStringAsync();

// deserialize by Json.Parse
var user = Json.Parse<User>(_data);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages