C# Class Castle.Monorail.JSONSupport.JSONHelper

Provides utilities methods to work with JSON.
Inheritance: Castle.MonoRail.Framework.Helpers.AbstractHelper
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
ToJSON ( object model ) : string

Converts a instance of the model to its JSON representation.

Method Details

ToJSON() public method

Converts a instance of the model to its JSON representation.
public ToJSON ( object model ) : string
model object The model.
return string