Skip to content

Package for Revit to use Newtonsoft.Json as Extension with JsonService

License

Notifications You must be signed in to change notification settings

ricaun-io/ricaun.Revit.ExtensibleJson

Repository files navigation

ricaun.Revit.ExtensibleJson

ricaun.Revit.ExtensibleJson is a package for Revit to use Newtonsoft.Json as Extension with JsonService.

Revit 2017 Visual Studio 2022 Nuke License MIT Publish Develop Release

Release

JsonService / JsonService

IJsonService<TJson> jsonService = new JsonService<TJson>();

Serialize / SerializeObject

TJson value;
string serialize = jsonService.Serialize(value);
object value;
string serialize = jsonService.SerializeObject<object>(value);

Deserialize / DeserializeObject

string value;
TJson deserialize = jsonService.Deserialize(value);
string value;
object deserialize = jsonService.DeserializeObject<object>(value);

JsonSerializerSettings

JsonSerializerSettings setting = jsonService.GetSettings();

Video

VideoIma VideoIma2

License

This Project is licensed under the MIT Licence.


Do you like this package? Please star this project on GitHub!