JSON and JSON-RPC for ASP.NET Open Source project, using ...
Jayrock
JSON and JSON-RPC for Open Source project, using LGPL See Goals:
? Collaborative development, open source-style ? Open and pluggable architecture ? Use documented standards! ? Run on Microsoft .NET Framework and Mono
Copyright (c) Atif Aziz. All rights reserved.
From JSON to Objects
"...JSON..." JSON Parser
IParserOutput
NullPrimitive TruePrimitive FalsePrimitive ToStringPrimitive ToNumberPrimitive
StartObject ObjectPut(name, value) EndObject
StartArray ArrayPut(value) EndArray
Copyright (c) Atif Aziz. All rights reserved.
ParserOutput
JNull Boolean
String Int32/Double
JObject JArray
From Objects to JSON
JsonWriter
WriteStartObject WriteEndObject WriteMember(name) WriteStartArray WriteEndArray WriteString(value) WriteNumber(value) WriteBoolean(value) WriteNull WriteValue ValueFormatter
IJsonFormatter
Format(o, writer)
JsonFormatter
IJsonFormattable
Format(writer)
JsonTextWriter
TextWriter
"...JSON..."
Copyright (c) Atif Aziz. All rights reserved.
Built-in Formatters
DataSetFormatter DataTableFormatter DataRowFormatter DataRowViewFormatter ComponentFormatter
? Writes properties of an object in JSON
ControlFormatter
? Renders control HTML as JSON string
CompositeFormatter
Copyright (c) Atif Aziz. All rights reserved.
Composite Formatter
Mother of all formatters :-) Registry of formatters by type Supports lazy registration by base types
CompositeFormatter cf = new CompositeFormatter(); cf.AddFormatter(typeof(DataSet), new DataSetFormatter()); cf.AddFormatter(typeof(DataTable), new DataTableFormatter()); cf.AddFormatter(typeof(DataRowView), new DataRowViewFormatter()); cf.AddFormatter(typeof(DataRow), new DataRowFormatter()); cf.AddFormatter(typeof(Control), new ControlFormatter(), true);
Applies to all subclasses
Copyright (c) Atif Aziz. All rights reserved.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- unofficial snippet guide work in progress
- web services
- additional text found in json string after finishing
- exam description document uipath
- aggregation caching api
- json and json rpc for open source project using
- validating json messages with json schema
- theory of machine by sb soni
- ajax datatype text reference a field
- react json data
Related searches
- open source project management software
- open source project management software 2019
- open source project management online
- open source project planning software
- open source project management tool
- open source project software
- project plan open source tools
- open source project planner
- free open source project management
- open source project management web
- open source project management tools
- open source project management