123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using UnityEngine;
- using System.Collections;
- using System;
- namespace LitJson.Extensions {
-
-
-
- public static class Extensions {
- public static void WriteProperty(this JsonWriter w,string name,long value){
- w.WritePropertyName(name);
- w.Write(value);
- }
-
- public static void WriteProperty(this JsonWriter w,string name,string value){
- w.WritePropertyName(name);
- w.Write(value);
- }
-
- public static void WriteProperty(this JsonWriter w,string name,bool value){
- w.WritePropertyName(name);
- w.Write(value);
- }
-
- public static void WriteProperty(this JsonWriter w,string name,double value){
- w.WritePropertyName(name);
- w.Write(value);
- }
- }
-
-
-
- [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
- public sealed class JsonIgnore : Attribute
- {
- }
- }
|