-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature-deterministic'
Conflicts: .gitignore README.md
- Loading branch information
Showing
56 changed files
with
19,037 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
[Ll]ibrary/ | ||
[Tt]emp/ | ||
[Oo]bj/ | ||
|
||
# Autogenerated VS/MD solution and project files | ||
*.csproj | ||
*.unityproj | ||
*.sln | ||
*~ | ||
*# |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
|
||
[assembly: CLSCompliant (true)] | ||
|
||
[assembly: AssemblyTitle ("LitJson")] | ||
[assembly: AssemblyDescription ("LitJSON library")] | ||
[assembly: AssemblyConfiguration ("")] | ||
[assembly: AssemblyCompany ("")] | ||
[assembly: AssemblyProduct ("LitJSON")] | ||
[assembly: AssemblyCopyright ( | ||
"The authors disclaim copyright to this source code")] | ||
[assembly: AssemblyTrademark ("")] | ||
[assembly: AssemblyCulture ("")] | ||
|
||
[assembly: AssemblyVersion ("@ASSEMBLY_VERSION@")] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
#region Header | ||
/** | ||
* IJsonWrapper.cs | ||
* Interface that represents a type capable of handling all kinds of JSON | ||
* data. This is mainly used when mapping objects through JsonMapper, and | ||
* it's implemented by JsonData. | ||
* | ||
* The authors disclaim copyright to this source code. For more details, see | ||
* the COPYING file included with this distribution. | ||
**/ | ||
#endregion | ||
|
||
|
||
using System.Collections; | ||
using System.Collections.Specialized; | ||
|
||
|
||
namespace LitJson | ||
{ | ||
public enum JsonType | ||
{ | ||
None, | ||
|
||
Object, | ||
Array, | ||
String, | ||
Int, | ||
Long, | ||
Double, | ||
Boolean | ||
} | ||
|
||
public interface IJsonWrapper : IList, IOrderedDictionary | ||
{ | ||
bool IsArray { get; } | ||
bool IsBoolean { get; } | ||
bool IsDouble { get; } | ||
bool IsInt { get; } | ||
bool IsLong { get; } | ||
bool IsObject { get; } | ||
bool IsString { get; } | ||
|
||
bool GetBoolean (); | ||
double GetDouble (); | ||
int GetInt (); | ||
JsonType GetJsonType (); | ||
long GetLong (); | ||
string GetString (); | ||
|
||
void SetBoolean (bool val); | ||
void SetDouble (double val); | ||
void SetInt (int val); | ||
void SetJsonType (JsonType type); | ||
void SetLong (long val); | ||
void SetString (string val); | ||
|
||
string ToJson (); | ||
void ToJson (JsonWriter writer); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.