<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
These notes are designed for users of previously released versions of Jayrock up to, but not including, v0.9.8316. It is not a comprehensive list of breaking changes. For additional help with breaking compilations, post your issue to the Jayrock discussion group.
Jayrock
assembly has been permanently split into two assemblies.
The Jayrock
assembly now mainly contains all types related to services
and JSON-RPC. The other assembly, called Jayrock.Json
, is used by
Jayrock
and contains types and functionality related to the JSON data
format. The Jayrock
assembly therefore depends on Jayrock.Json
and both
must be deployed together for the JSON-RPC functionality. To work with the JSON data
format without any relation to JSON-RPC, only Jayrock.Json
is needed.Jayrock.Json.Rpc
namespace has been renamed to Jayrock.JsonRpc
.
You must update all references in source and configuration files from the previous
namespace to the new one.JArray
, JObject
and JNull
from
the Jayrock.Json
namespace have been renamed to JsonArray
,
JsonObject
and JsonNull
, respectively.Jayrock.Json.Rpc.JsonRpcParamsAttribute
has been removed. Instead,
just use the regular params
keyword from C# (ParamArray
in Visual Basic).IJsonFormatter
has been replaced by Jayrock.Json.Conversion.IExporter
, which continues to serve a similar purpose.IJsonFormattable
has been replaced by Jayrock.Json.Conversion.IJsonExportable
, which continues to serve a similar purpose.JsonParser
, JsonReader.DeserializeNext
and IParseOutput
have been
removed. Use JsonConvert.Import
from the Jayrock.Json.Conversion
namespace instead for similar functionality.JsonWriter.WriteValue
has been
removed. Use JsonConvert.Export
from the Jayrock.Json.Conversion
namespace instead for similar functionality.jayrock/json.rpc
has been renamed to
jayrock.jsonrpc
. Jayrock will still pick up the section under
the old name, but you are advised to move to the new name as soon as
possible.