-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/0.10.0: (GH-34) Removed gitter-api-pcl and stylecop packages (build) Exclude LitJson from analysis (GH-34) Switch away from GitterSharp.dll (build) Update to latest Cake (maint) Add .DS_Store (GH-34) Added LitJson
- Loading branch information
Showing
15 changed files
with
4,715 additions
and
18 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 |
---|---|---|
|
@@ -197,4 +197,7 @@ FakesAssemblies/ | |
|
||
# Build Related | ||
tools/ | ||
BuildArtifacts/ | ||
BuildArtifacts/ | ||
|
||
# Mac | ||
.DS_Store |
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
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
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,31 @@ | ||
This is free and unencumbered software released into the public domain. | ||
|
||
Anyone is free to copy, modify, publish, use, compile, sell, or | ||
distribute this software, either in source code form or as a compiled | ||
binary, for any purpose, commercial or non-commercial, and by any | ||
means. | ||
|
||
In jurisdictions that recognize copyright laws, the author or authors | ||
of this software dedicate any and all copyright interest in the | ||
software to the public domain. We make this dedication for the benefit | ||
of the public at large and to the detriment of our heirs and | ||
successors. We intend this dedication to be an overt act of | ||
relinquishment in perpetuity of all present and future rights to this | ||
software under copyright law. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
For more information, please refer to <http://unlicense.org/> | ||
|
||
Thank you for reading this notice. Following the tradition of other public | ||
domain projects, here's a blessing: | ||
|
||
May you find forgiveness for yourself and forgive others. | ||
May you experience and share the gift of unconditional love. | ||
May you see light, wherever the illusion of darkness appears. |
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,77 @@ | ||
#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 Header | ||
|
||
namespace Cake.Gitter | ||
{ | ||
using System.Collections; | ||
using System.Collections.Specialized; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
|
||
namespace LitJson | ||
{ | ||
internal enum JsonType | ||
{ | ||
None, | ||
|
||
Object, | ||
Array, | ||
String, | ||
Int, | ||
Long, | ||
Double, | ||
Boolean | ||
} | ||
|
||
internal 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); | ||
} | ||
} | ||
} |
Oops, something went wrong.