Permalink
Browse files

Signed assemblies

  • Loading branch information...
0 parents commit 9ad565a8179ac383987d169808fba8f5ec346ced gregsdennis committed Sep 2, 2015
Showing with 22,832 additions and 0 deletions.
  1. +22 −0 .hgignore
  2. +6 −0 .nuget/NuGet.Config
  3. BIN .nuget/NuGet.exe
  4. +144 −0 .nuget/NuGet.targets
  5. BIN ECMA-404.pdf
  6. BIN Json.sln.docstates.suo
  7. BIN Json.suo
  8. +6 −0 Json.vsmdi
  9. BIN JsonML.sln.docstates.suo
  10. +10 −0 Local.testsettings
  11. +48 −0 Manatee.Json.Performance/Associate.cs
  12. +43 −0 Manatee.Json.Performance/Associates.json
  13. +138 −0 Manatee.Json.Performance/DeserializeTest.cs
  14. +196 −0 Manatee.Json.Performance/Manatee.Json.Performance.csproj
  15. BIN Manatee.Json.Performance/Manatee.Json.snk
  16. +38 −0 Manatee.Json.Performance/ParseTest.cs
  17. +36 −0 Manatee.Json.Performance/Properties/AssemblyInfo.cs
  18. +4 −0 Manatee.Json.Performance/packages.config
  19. +95 −0 Manatee.Json.Tests/DevTest.cs
  20. +41 −0 Manatee.Json.Tests/JsonArrayExtensionsTest.cs
  21. +105 −0 Manatee.Json.Tests/JsonArrayTest.cs
  22. +272 −0 Manatee.Json.Tests/JsonObjectExtensionsTest.cs
  23. +222 −0 Manatee.Json.Tests/JsonObjectTest.cs
  24. +471 −0 Manatee.Json.Tests/JsonValueTest.cs
  25. +58 −0 Manatee.Json.Tests/LinqExtensionsTest.cs
  26. +225 −0 Manatee.Json.Tests/Manatee.Json.Tests.csproj
  27. +6 −0 Manatee.Json.Tests/Manatee.Json.Tests.csproj.user
  28. BIN Manatee.Json.Tests/Manatee.Json.snk
  29. +35 −0 Manatee.Json.Tests/Properties/AssemblyInfo.cs
  30. +71 −0 Manatee.Json.Tests/Schema/AllOfSchemaTest.cs
  31. +71 −0 Manatee.Json.Tests/Schema/AnyOfSchemaTest.cs
  32. +156 −0 Manatee.Json.Tests/Schema/ArraySchemaTest.cs
  33. +56 −0 Manatee.Json.Tests/Schema/BooleanSchemaTest.cs
  34. +43 −0 Manatee.Json.Tests/Schema/Draft04SchemaTest.cs
  35. +71 −0 Manatee.Json.Tests/Schema/EnumSchemaTest.cs
  36. +144 −0 Manatee.Json.Tests/Schema/IntegerSchemaTest.cs
  37. +71 −0 Manatee.Json.Tests/Schema/NotSchemaTest.cs
  38. +56 −0 Manatee.Json.Tests/Schema/NullSchemaTest.cs
  39. +133 −0 Manatee.Json.Tests/Schema/NumberSchemaTest.cs
  40. +246 −0 Manatee.Json.Tests/Schema/ObjectSchemaTest.cs
  41. +89 −0 Manatee.Json.Tests/Schema/OneOfSchemaTest.cs
  42. +266 −0 Manatee.Json.Tests/Schema/StringSchemaTest.cs
  43. +81 −0 Manatee.Json.Tests/Serialization/Internal/TypeGeneratorTest.cs
  44. +1,191 −0 Manatee.Json.Tests/Serialization/JsonSerializerTest.cs
  45. +49 −0 Manatee.Json.Tests/Test References/AbstractClass.cs
  46. +49 −0 Manatee.Json.Tests/Test References/DerivedClass.cs
  47. +53 −0 Manatee.Json.Tests/Test References/IInterface.cs
  48. +70 −0 Manatee.Json.Tests/Test References/ImplementationClass.cs
  49. +80 −0 Manatee.Json.Tests/Test References/JsonSerializableClass.cs
  50. +40 −0 Manatee.Json.Tests/Test References/JsonSerializableImplementationClass.cs
  51. +57 −0 Manatee.Json.Tests/Test References/ObjectWithAbstractAndInterfaceProps.cs
  52. +132 −0 Manatee.Json.Tests/Test References/ObjectWithBasicProps.cs
  53. +68 −0 Manatee.Json.Tests/Test References/ObjectWithExtendedProps.cs
  54. +57 −0 Manatee.Json.Tests/TrelloCard.json
  55. +539 −0 Manatee.Json.Tests/XmlExtensionsTest.cs
  56. +5 −0 Manatee.Json.Tests/packages.config
  57. +80 −0 Manatee.Json.sln
  58. +17 −0 Manatee.Json.sln.DotSettings
  59. +6 −0 Manatee.Json.sln.DotSettings.user
  60. BIN Manatee.Json.suo
  61. BIN Manatee.Json.v11.suo
  62. BIN Manatee.Json.v12.suo
  63. +106 −0 Manatee.Json/Internal/CharacterConverter.cs
  64. +246 −0 Manatee.Json/Internal/GeneralExtensions.cs
  65. +47 −0 Manatee.Json/Internal/JsonPathExpressionInput.cs
  66. +42 −0 Manatee.Json/Internal/JsonPathInput.cs
  67. +30 −0 Manatee.Json/Internal/XmlNamespacePair.cs
  68. +86 −0 Manatee.Json/Internal/XmlNamespaceRegistry.cs
  69. +115 −0 Manatee.Json/JsonArray.cs
  70. +47 −0 Manatee.Json/JsonArrayExtensions.cs
  71. +134 −0 Manatee.Json/JsonObject.cs
  72. +84 −0 Manatee.Json/JsonObjectExtensions.cs
  73. +67 −0 Manatee.Json/JsonPathSyntaxException.cs
  74. +81 −0 Manatee.Json/JsonSyntaxException.cs
  75. +515 −0 Manatee.Json/JsonValue.cs
  76. +52 −0 Manatee.Json/JsonValueIncorrectTypeException.cs
  77. +56 −0 Manatee.Json/JsonValueType.cs
  78. +212 −0 Manatee.Json/LinqExtensions.cs
  79. +536 −0 Manatee.Json/Manatee.Json.csproj
  80. +6 −0 Manatee.Json/Manatee.Json.csproj.user
  81. BIN Manatee.Json/Manatee.Json.snk
  82. +107 −0 Manatee.Json/Parsing/ArrayParser.cs
  83. +110 −0 Manatee.Json/Parsing/BoolParser.cs
  84. +35 −0 Manatee.Json/Parsing/IJsonParser.cs
  85. +100 −0 Manatee.Json/Parsing/JsonParser.cs
  86. +74 −0 Manatee.Json/Parsing/NullParser.cs
  87. +116 −0 Manatee.Json/Parsing/NumberParser.cs
  88. +139 −0 Manatee.Json/Parsing/ObjectParser.cs
  89. +122 −0 Manatee.Json/Parsing/StringParser.cs
  90. +48 −0 Manatee.Json/Path/ArrayParameters/FilterExpressionQuery.cs
  91. +48 −0 Manatee.Json/Path/ArrayParameters/IndexExpressionQuery.cs
  92. +55 −0 Manatee.Json/Path/ArrayParameters/IndexQuery.cs
  93. +72 −0 Manatee.Json/Path/ArrayParameters/SliceQuery.cs
  94. +42 −0 Manatee.Json/Path/ArrayParameters/WildCardQuery.cs
  95. +48 −0 Manatee.Json/Path/Expressions/AddExpression.cs
  96. +38 −0 Manatee.Json/Path/Expressions/AndExpression.cs
  97. +65 −0 Manatee.Json/Path/Expressions/ArrayIndexExpression.cs
  98. +55 −0 Manatee.Json/Path/Expressions/ConversionExpression.cs
  99. +44 −0 Manatee.Json/Path/Expressions/DivideExpression.cs
  100. +44 −0 Manatee.Json/Path/Expressions/ExponentExpression.cs
  101. +506 −0 Manatee.Json/Path/Expressions/Expression.cs
  102. +30 −0 Manatee.Json/Path/Expressions/ExpressionTreeBranch.cs
  103. +31 −0 Manatee.Json/Path/Expressions/ExpressionTreeNode.cs
  104. +49 −0 Manatee.Json/Path/Expressions/FieldExpression.cs
  105. +41 −0 Manatee.Json/Path/Expressions/GroupExpression.cs
  106. +47 −0 Manatee.Json/Path/Expressions/HasPropertyExpression.cs
  107. +79 −0 Manatee.Json/Path/Expressions/IndexOfExpression.cs
  108. +48 −0 Manatee.Json/Path/Expressions/IsEqualExpression.cs
  109. +48 −0 Manatee.Json/Path/Expressions/IsGreaterThanEqualExpression.cs
  110. +48 −0 Manatee.Json/Path/Expressions/IsGreaterThanExpression.cs
  111. +48 −0 Manatee.Json/Path/Expressions/IsLessThanEqualExpression.cs
  112. +48 −0 Manatee.Json/Path/Expressions/IsLessThanExpression.cs
  113. +48 −0 Manatee.Json/Path/Expressions/IsNotEqualExpression.cs
  114. +70 −0 Manatee.Json/Path/Expressions/LengthExpression.cs
  115. +43 −0 Manatee.Json/Path/Expressions/ModuloExpression.cs
  116. +44 −0 Manatee.Json/Path/Expressions/MultiplyExpression.cs
  117. +66 −0 Manatee.Json/Path/Expressions/NameExpresssion.cs
  118. +43 −0 Manatee.Json/Path/Expressions/NegateExpression.cs
  119. +45 −0 Manatee.Json/Path/Expressions/NotExpression.cs
  120. +38 −0 Manatee.Json/Path/Expressions/OrExpression.cs
  121. +49 −0 Manatee.Json/Path/Expressions/PathExpression.cs
  122. +44 −0 Manatee.Json/Path/Expressions/SubtractExpression.cs
  123. +43 −0 Manatee.Json/Path/Expressions/Translation/AddExpressionTranslator.cs
  124. +43 −0 Manatee.Json/Path/Expressions/Translation/AndExpressionTranslator.cs
  125. +56 −0 Manatee.Json/Path/Expressions/Translation/ArrayIndexExpressionTranslator.cs
  126. +39 −0 Manatee.Json/Path/Expressions/Translation/BooleanValueExpressionTranslator.cs
  127. +43 −0 Manatee.Json/Path/Expressions/Translation/ConversionExpressionTranslator.cs
  128. +43 −0 Manatee.Json/Path/Expressions/Translation/DivideExpressionTranslator.cs
  129. +43 −0 Manatee.Json/Path/Expressions/Translation/ExponentExpressionTranslator.cs
  130. +220 −0 Manatee.Json/Path/Expressions/Translation/ExpressionTranslator.cs
  131. +41 −0 Manatee.Json/Path/Expressions/Translation/FieldExpressionTranslator.cs
  132. +43 −0 Manatee.Json/Path/Expressions/Translation/HasPropertyExpressionTranslator.cs
  133. +32 −0 Manatee.Json/Path/Expressions/Translation/IExpressionTranslator.cs
  134. +56 −0 Manatee.Json/Path/Expressions/Translation/IndexOfExpressionTranslator.cs
  135. +43 −0 Manatee.Json/Path/Expressions/Translation/IsEqualExpressionTranslator.cs
  136. +43 −0 Manatee.Json/Path/Expressions/Translation/IsGreaterThanEqualExpressionTranslator.cs
  137. +43 −0 Manatee.Json/Path/Expressions/Translation/IsGreaterThanExpressionTranslator.cs
  138. +43 −0 Manatee.Json/Path/Expressions/Translation/IsLessThanEqualExpressionTranslator.cs
  139. +43 −0 Manatee.Json/Path/Expressions/Translation/IsLessThanExpressionTranslator.cs
  140. +43 −0 Manatee.Json/Path/Expressions/Translation/IsNotEqualExpressionTranslator.cs
  141. +44 −0 Manatee.Json/Path/Expressions/Translation/LengthExpressionTranslator.cs
  142. +43 −0 Manatee.Json/Path/Expressions/Translation/ModuloExpressionTranslator.cs
  143. +43 −0 Manatee.Json/Path/Expressions/Translation/MultiplyExpressionTranslator.cs
  144. +56 −0 Manatee.Json/Path/Expressions/Translation/NameExpressionTranslator.cs
  145. +39 −0 Manatee.Json/Path/Expressions/Translation/NegateExpressionTranslator.cs
  146. +39 −0 Manatee.Json/Path/Expressions/Translation/NotExpressionTranslator.cs
  147. +35 −0 Manatee.Json/Path/Expressions/Translation/NullValueExpressionTranslator.cs
  148. +39 −0 Manatee.Json/Path/Expressions/Translation/NumberValueExpressionTranslator.cs
  149. +43 −0 Manatee.Json/Path/Expressions/Translation/OrExpressionTranslator.cs
  150. +63 −0 Manatee.Json/Path/Expressions/Translation/PathExpressionTranslator.cs
  151. +39 −0 Manatee.Json/Path/Expressions/Translation/StringValueExpressionTranslator.cs
  152. +43 −0 Manatee.Json/Path/Expressions/Translation/SubtractExpressionTranslator.cs
  153. +42 −0 Manatee.Json/Path/Expressions/ValueExpression.cs
  154. +31 −0 Manatee.Json/Path/IJsonPathArrayQuery.cs
  155. +30 −0 Manatee.Json/Path/IJsonPathOperator.cs
  156. +39 −0 Manatee.Json/Path/IJsonPathQuery.cs
  157. +31 −0 Manatee.Json/Path/IJsonPathSearchParameter.cs
  158. +484 −0 Manatee.Json/Path/JsonPath.cs
  159. +33 −0 Manatee.Json/Path/JsonPathArray.cs
  160. +70 −0 Manatee.Json/Path/JsonPathRoot.cs
  161. +67 −0 Manatee.Json/Path/JsonPathSyntaxException.cs
  162. +534 −0 Manatee.Json/Path/JsonPathValue.cs
  163. +380 −0 Manatee.Json/Path/JsonPathWith.cs
  164. +49 −0 Manatee.Json/Path/Operators/ArrayOperator.cs
  165. +52 −0 Manatee.Json/Path/Operators/IndexOfOperator.cs
  166. +45 −0 Manatee.Json/Path/Operators/LengthOperator.cs
  167. +51 −0 Manatee.Json/Path/Operators/NameOperator.cs
  168. +45 −0 Manatee.Json/Path/Operators/SearchOperator.cs
  169. +55 −0 Manatee.Json/Path/Operators/WildCardOperator.cs
  170. +93 −0 Manatee.Json/Path/PathExpressionExtensions.cs
  171. +62 −0 Manatee.Json/Path/SearchParameters/ArraySearchParameter.cs
  172. +57 −0 Manatee.Json/Path/SearchParameters/LengthSearchParameter.cs
  173. +63 −0 Manatee.Json/Path/SearchParameters/NameSearchParameter.cs
  174. +56 −0 Manatee.Json/Path/SearchParameters/WildCardSearchParameter.cs
  175. +38 −0 Manatee.Json/Properties/AssemblyInfo.cs
  176. +151 −0 Manatee.Json/Schema/AdditionalPropertiesDefinition.cs
  177. +96 −0 Manatee.Json/Schema/AllOfSchema.cs
  178. +100 −0 Manatee.Json/Schema/AnyOfSchema.cs
  179. +131 −0 Manatee.Json/Schema/ArraySchema.cs
  180. +60 −0 Manatee.Json/Schema/BooleanSchema.cs
  181. +91 −0 Manatee.Json/Schema/EnumSchema.cs
  182. +42 −0 Manatee.Json/Schema/IJsonSchema.cs
  183. +139 −0 Manatee.Json/Schema/IntegerSchema.cs
  184. +273 −0 Manatee.Json/Schema/JsonSchema.cs
  185. +260 −0 Manatee.Json/Schema/JsonSchemaFactory.cs
  186. +86 −0 Manatee.Json/Schema/JsonSchemaPropertyDefinition.cs
  187. +43 −0 Manatee.Json/Schema/JsonSchemaPropertyDefinitionCollection.cs
  188. +136 −0 Manatee.Json/Schema/JsonSchemaReference.cs
  189. +197 −0 Manatee.Json/Schema/JsonSchemaTypeDefinition.cs
  190. +43 −0 Manatee.Json/Schema/JsonSchemaTypeDefinitionCollection.cs
  191. +99 −0 Manatee.Json/Schema/NotSchema.cs
  192. +49 −0 Manatee.Json/Schema/NullSchema.cs
  193. +136 −0 Manatee.Json/Schema/NumberSchema.cs
  194. +270 −0 Manatee.Json/Schema/ObjectSchema.cs
  195. +107 −0 Manatee.Json/Schema/OneOfSchema.cs
  196. +71 −0 Manatee.Json/Schema/SchemaValidationError.cs
  197. +56 −0 Manatee.Json/Schema/SchemaValidationResults.cs
  198. +122 −0 Manatee.Json/Schema/StringFormat.cs
  199. +128 −0 Manatee.Json/Schema/StringSchema.cs
  200. +49 −0 Manatee.Json/Serialization/DateTimeSerializationFormat.cs
  201. +49 −0 Manatee.Json/Serialization/EnumSerializationFormat.cs
  202. +47 −0 Manatee.Json/Serialization/IJsonSerializable.cs
  203. +47 −0 Manatee.Json/Serialization/IResolver.cs
  204. +54 −0 Manatee.Json/Serialization/Internal/AutoRegistration/ArraySerializationDelegateProvider.cs
  205. +72 −0 Manatee.Json/Serialization/Internal/AutoRegistration/DateTimeSerializationDelegateProvider.cs
  206. +52 −0 Manatee.Json/Serialization/Internal/AutoRegistration/DictionarySerializationDelegateProvider.cs
  207. +43 −0 Manatee.Json/Serialization/Internal/AutoRegistration/GuidSerializationDelegateProvider.cs
  208. +49 −0 Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs
  209. +53 −0 Manatee.Json/Serialization/Internal/AutoRegistration/NullableSerializationDelegateProvider.cs
  210. +55 −0 Manatee.Json/Serialization/Internal/AutoRegistration/QueueSerializationDelegateProvider.cs
  211. +62 −0 Manatee.Json/Serialization/Internal/AutoRegistration/SerializationDelegateProviderBase.cs
  212. +55 −0 Manatee.Json/Serialization/Internal/AutoRegistration/StackSerializationDelegateProvider.cs
  213. +43 −0 Manatee.Json/Serialization/Internal/AutoRegistration/TimeSpanSerializationDelegateProvider.cs
  214. +32 −0 Manatee.Json/Serialization/Internal/Constants.cs
  215. +56 −0 Manatee.Json/Serialization/Internal/ConstructorResolver.cs
  216. +39 −0 Manatee.Json/Serialization/Internal/FieldReference.cs
  217. +32 −0 Manatee.Json/Serialization/Internal/ISerializer.cs
  218. +35 −0 Manatee.Json/Serialization/Internal/ISerializerDelegateProvider.cs
  219. +31 −0 Manatee.Json/Serialization/Internal/ITypeSerializer.cs
  220. +41 −0 Manatee.Json/Serialization/Internal/MemberReference.cs
  221. +41 −0 Manatee.Json/Serialization/Internal/PropertyReference.cs
  222. +65 −0 Manatee.Json/Serialization/Internal/SerializationPair.cs
  223. +41 −0 Manatee.Json/Serialization/Internal/SerializationPairCache.cs
  224. +72 −0 Manatee.Json/Serialization/Internal/SerializerCache.cs
  225. +117 −0 Manatee.Json/Serialization/Internal/SerializerFactory.cs
  226. +51 −0 Manatee.Json/Serialization/Internal/SerializerMethodPair.cs
  227. +258 −0 Manatee.Json/Serialization/Internal/Serializers/AutoSerializer.cs
  228. +39 −0 Manatee.Json/Serialization/Internal/Serializers/BooleanSerializer.cs
  229. +49 −0 Manatee.Json/Serialization/Internal/Serializers/DefaultValueSerializer.cs
  230. +96 −0 Manatee.Json/Serialization/Internal/Serializers/EnumNameSerializer.cs
  231. +43 −0 Manatee.Json/Serialization/Internal/Serializers/EnumValueSerializer.cs
  232. +43 −0 Manatee.Json/Serialization/Internal/Serializers/JsonSerializableSerializer.cs
  233. +43 −0 Manatee.Json/Serialization/Internal/Serializers/NumericSerializer.cs
  234. +89 −0 Manatee.Json/Serialization/Internal/Serializers/ReferencingSerializer.cs
  235. +149 −0 Manatee.Json/Serialization/Internal/Serializers/ReflectionCache.cs
  236. +44 −0 Manatee.Json/Serialization/Internal/Serializers/RegisteredObjectSerializer.cs
  237. +42 −0 Manatee.Json/Serialization/Internal/Serializers/SchemaSerializer.cs
  238. +25 −0 Manatee.Json/Serialization/Internal/Serializers/SerializationInfo.cs
  239. +42 −0 Manatee.Json/Serialization/Internal/Serializers/StringSerializer.cs
  240. +145 −0 Manatee.Json/Serialization/Internal/TemplateGenerator.cs
  241. +284 −0 Manatee.Json/Serialization/Internal/TypeGenerator.cs
  242. +41 −0 Manatee.Json/Serialization/InvalidPropertyKeyBehavior.cs
  243. +35 −0 Manatee.Json/Serialization/JsonIgnoreAttribute.cs
  244. +49 −0 Manatee.Json/Serialization/JsonMapToAttribute.cs
  245. +178 −0 Manatee.Json/Serialization/JsonSerializationAbstractionMap.cs
  246. +172 −0 Manatee.Json/Serialization/JsonSerializationTypeRegistry.cs
  247. +122 −0 Manatee.Json/Serialization/JsonSerializer.cs
  248. +140 −0 Manatee.Json/Serialization/JsonSerializerOptions.cs
  249. +53 −0 Manatee.Json/Serialization/JsonTypeMapException.cs
  250. +46 −0 Manatee.Json/Serialization/MapBaseAbstractionBehavior.cs
  251. +44 −0 Manatee.Json/Serialization/PropertySelectionStrategy.cs
  252. +57 −0 Manatee.Json/Serialization/TypeDoesNotContainPropertyException.cs
  253. +41 −0 Manatee.Json/Serialization/TypeInstantiationException.cs
  254. +44 −0 Manatee.Json/Serialization/TypeNameSerializationBehavior.cs
  255. +51 −0 Manatee.Json/Serialization/TypeRegistrationException.cs
  256. +312 −0 Manatee.Json/XmlExtensions.cs
  257. +9 −0 Manatee.Json/packages.config
  258. +55 −0 Manatee.Json/xml rules.txt
  259. +54 −0 Performance results.txt
  260. +21 −0 TraceAndTestImpact.testsettings
  261. BIN path parsing.xlsx
  262. +150 −0 schema.json
@@ -0,0 +1,22 @@
+syntax: glob
+Json.Serialization/bin/
+Json.Serialization/obj/
+Json.Tests/bin/
+Json.Tests/obj/
+Json/bin/
+Json/obj/
+_ReSharper.Json/
+Json.5.1.ReSharper.user
+Json.6.0.ReSharper.user
+Json.sln.DotSettings.user
+NuGet/
+TestResults/
+packages/
+Manatee.Json.Tests/bin/
+Manatee.Json.Tests/obj/
+Manatee.Json/bin/
+Manatee.Json/obj/
+~$path parsing.xlsx
+Manatee.Json.Performance/bin/
+Manatee.Json.Performance/obj/
+*.orig
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <solution>
+ <add key="disableSourceControlIntegration" value="true" />
+ </solution>
+</configuration>
Binary file not shown.
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
+
+ <!-- Enable the restore command to run before builds -->
+ <RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>
+
+ <!-- Property that enables building a package from a project -->
+ <BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>
+
+ <!-- Determines if package restore consent is required to restore packages -->
+ <RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>
+
+ <!-- Download NuGet.exe if it does not already exist -->
+ <DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
+ </PropertyGroup>
+
+ <ItemGroup Condition=" '$(PackageSources)' == '' ">
+ <!-- Package sources used to restore packages. By default, registered sources under %APPDATA%\NuGet\NuGet.Config will be used -->
+ <!-- The official NuGet package source (https://www.nuget.org/api/v2/) will be excluded if package sources are specified and it does not appear in the list -->
+ <!--
+ <PackageSource Include="https://www.nuget.org/api/v2/" />
+ <PackageSource Include="https://my-nuget-source/nuget/" />
+ -->
+ </ItemGroup>
+
+ <PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
+ <!-- Windows specific commands -->
+ <NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
+ </PropertyGroup>
+
+ <PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
+ <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
+ <NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <PackagesProjectConfig Condition=" '$(OS)' == 'Windows_NT'">$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config</PackagesProjectConfig>
+ <PackagesProjectConfig Condition=" '$(OS)' != 'Windows_NT'">$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config</PackagesProjectConfig>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <PackagesConfig Condition="Exists('$(MSBuildProjectDirectory)\packages.config')">$(MSBuildProjectDirectory)\packages.config</PackagesConfig>
+ <PackagesConfig Condition="Exists('$(PackagesProjectConfig)')">$(PackagesProjectConfig)</PackagesConfig>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <!-- NuGet command -->
+ <NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\NuGet.exe</NuGetExePath>
+ <PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>
+
+ <NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
+ <NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 "$(NuGetExePath)"</NuGetCommand>
+
+ <PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
+
+ <RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
+ <NonInteractiveSwitch Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' ">-NonInteractive</NonInteractiveSwitch>
+
+ <PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(SolutionDir) "</PaddedSolutionDir>
+ <PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(SolutionDir)"</PaddedSolutionDir>
+
+ <!-- Commands -->
+ <RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
+ <BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols</BuildCommand>
+
+ <!-- We need to ensure packages are restored prior to assembly resolve -->
+ <BuildDependsOn Condition="$(RestorePackages) == 'true'">
+ RestorePackages;
+ $(BuildDependsOn);
+ </BuildDependsOn>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(BuildPackage) == 'true'">
+ $(BuildDependsOn);
+ BuildPackage;
+ </BuildDependsOn>
+ </PropertyGroup>
+
+ <Target Name="CheckPrerequisites">
+ <!-- Raise an error if we're unable to locate nuget.exe -->
+ <Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
+ <!--
+ Take advantage of MsBuild's build dependency tracking to make sure that we only ever download nuget.exe once.
+ This effectively acts as a lock that makes sure that the download operation will only happen once and all
+ parallel builds will have to wait for it to complete.
+ -->
+ <MsBuild Targets="_DownloadNuGet" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadNuGetExe=$(DownloadNuGetExe)" />
+ </Target>
+
+ <Target Name="_DownloadNuGet">
+ <DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
+ </Target>
+
+ <Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(RestoreCommand)"
+ Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
+
+ <Exec Command="$(RestoreCommand)"
+ LogStandardErrorAsError="true"
+ Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
+ </Target>
+
+ <Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(BuildCommand)"
+ Condition=" '$(OS)' != 'Windows_NT' " />
+
+ <Exec Command="$(BuildCommand)"
+ LogStandardErrorAsError="true"
+ Condition=" '$(OS)' == 'Windows_NT' " />
+ </Target>
+
+ <UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
+ <ParameterGroup>
+ <OutputFilename ParameterType="System.String" Required="true" />
+ </ParameterGroup>
+ <Task>
+ <Reference Include="System.Core" />
+ <Using Namespace="System" />
+ <Using Namespace="System.IO" />
+ <Using Namespace="System.Net" />
+ <Using Namespace="Microsoft.Build.Framework" />
+ <Using Namespace="Microsoft.Build.Utilities" />
+ <Code Type="Fragment" Language="cs">
+ <![CDATA[
+ try {
+ OutputFilename = Path.GetFullPath(OutputFilename);
+
+ Log.LogMessage("Downloading latest version of NuGet.exe...");
+ WebClient webClient = new WebClient();
+ webClient.DownloadFile("https://www.nuget.org/nuget.exe", OutputFilename);
+
+ return true;
+ }
+ catch (Exception ex) {
+ Log.LogErrorFromException(ex);
+ return false;
+ }
+ ]]>
+ </Code>
+ </Task>
+ </UsingTask>
+</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<TestLists xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
+ <TestList name="Lists of Tests" id="8c43106b-9dc1-4907-a29f-aa66a61bf5b6">
+ <RunConfiguration id="9e44918f-07ea-43b3-b252-d0f8e9063213" name="Local" storage="local.testsettings" type="Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration, Microsoft.VisualStudio.QualityTools.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ </TestList>
+</TestLists>
Binary file not shown.
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<TestSettings name="Local" id="9e44918f-07ea-43b3-b252-d0f8e9063213" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
+ <Description>These are default test settings for a local test run.</Description>
+ <Deployment enabled="false" />
+ <Execution>
+ <TestTypeSpecific />
+ <AgentRule name="Execution Agents">
+ </AgentRule>
+ </Execution>
+</TestSettings>
@@ -0,0 +1,48 @@
+using Manatee.Json.Serialization;
+
+namespace Manatee.Json.Performance
+{
+ public class Associate
+ {
+ public string Id { get; set; }
+
+ public string FamilyName { get; set; }
+
+ public string GivenName { get; set; }
+
+ public override string ToString()
+ {
+ return string.Format("{0} - {1} {2}", Id, GivenName, FamilyName);
+ }
+ }
+
+ public class SerializableAssociate : IJsonSerializable
+ {
+ public string Id { get; set; }
+
+ public string FamilyName { get; set; }
+
+ public string GivenName { get; set; }
+
+ public void FromJson(JsonValue json, JsonSerializer serializer)
+ {
+ Id = json.Object["id"].String;
+ FamilyName = json.Object["familyName"].String;
+ GivenName = json.Object["givenName"].String;
+ }
+ public JsonValue ToJson(JsonSerializer serializer)
+ {
+ var obj = new JsonObject
+ {
+ {"id", Id},
+ {"familyName", FamilyName},
+ {"givenName", GivenName},
+ };
+ return obj;
+ }
+ public override string ToString()
+ {
+ return string.Format("{0} - {1} {2}", Id, GivenName, FamilyName);
+ }
+ }
+}
@@ -0,0 +1,43 @@
+[
+ {
+ "id": "123456",
+ "familyName": "User",
+ "givenName": "POS"
+ },
+ {
+ "id": "234567",
+ "familyName": "MUNIZ",
+ "givenName": "D"
+
+ },
+ {
+ "id": "345678",
+ "familyName": "Medina",
+ "givenName": "John"
+ },
+ {
+ "id": "456789",
+ "familyName": "Trott",
+ "givenName": "Stephanie"
+ },
+ {
+ "id": "987654",
+ "familyName": "Gutierrez",
+ "givenName": "Adrian"
+ },
+ {
+ "id": "876543",
+ "familyName": "Himmelheber",
+ "givenName": "Devin"
+ },
+ {
+ "id": "765432",
+ "familyName": "Burriss",
+ "givenName": "Charles"
+ },
+ {
+ "id": "654321",
+ "familyName": "Williams",
+ "givenName": "Nic"
+ }
+]
Oops, something went wrong.

0 comments on commit 9ad565a

Please sign in to comment.