ln.types/json/IJsonConvert.cs

22 lines
554 B
C#

// /**
// * File: IJsonConvert.cs
// * Author: haraldwolff
// *
// * This file and it's content is copyrighted by the Author and / or copyright holder.
// * Any use wihtout proper permission is illegal and may lead to legal actions.
// *
// *
// **/
using System;
using Newtonsoft.Json.Linq;
namespace ln.types.json
{
public interface IJsonConvert
{
string GetSkyType(Type nativeType);
bool JSON2Value(Type targetType, JToken jToken,ref object value);
bool Value2JSON(object value, ref JToken jToken);
}
}