diff --git a/LICENSE-2.0.txt b/LICENSE-2.0.txt deleted file mode 100644 index d645695..0000000 --- a/LICENSE-2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..8084259 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,7 @@ +Copyright (c) 2016 Little Crab Solutions (Greg Dennis) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +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 OR COPYRIGHT HOLDERS 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. \ No newline at end of file diff --git a/Manatee.Json.Tests/ClientTest.cs b/Manatee.Json.Tests/ClientTest.cs index ecd0b03..39095ff 100644 --- a/Manatee.Json.Tests/ClientTest.cs +++ b/Manatee.Json.Tests/ClientTest.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.IO; using System.Linq; using Manatee.Json.Path; using Manatee.Json.Schema; diff --git a/Manatee.Json.Tests/DevTest.cs b/Manatee.Json.Tests/DevTest.cs index 2b81b5f..56474a5 100644 --- a/Manatee.Json.Tests/DevTest.cs +++ b/Manatee.Json.Tests/DevTest.cs @@ -1,29 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DevTest.cs - Namespace: Manatee.Tests - Class Name: DevTest - Purpose: Provides a single method through which one can test any specific - scenario. Should be marked [Ignore] when committing to the - repository. - -***************************************************************************************/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests { diff --git a/Manatee.Json.Tests/JsonArrayExtensionsTest.cs b/Manatee.Json.Tests/JsonArrayExtensionsTest.cs index ec62be1..a9dea69 100644 --- a/Manatee.Json.Tests/JsonArrayExtensionsTest.cs +++ b/Manatee.Json.Tests/JsonArrayExtensionsTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonArrayExtensionsTest.cs - Namespace: Manatee.Json.Tests - Class Name: JsonArrayExtensionsTest - Purpose: Tests for the JsonArray extension methods for the Json library. - -***************************************************************************************/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests { diff --git a/Manatee.Json.Tests/JsonArrayTest.cs b/Manatee.Json.Tests/JsonArrayTest.cs index 4de7b95..e99b39c 100644 --- a/Manatee.Json.Tests/JsonArrayTest.cs +++ b/Manatee.Json.Tests/JsonArrayTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonArrayTest.cs - Namespace: Manatee.Json.Tests - Class Name: JsonArrayTest - Purpose: Tests for JsonArray. - -***************************************************************************************/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests { diff --git a/Manatee.Json.Tests/JsonObjectExtensionsTest.cs b/Manatee.Json.Tests/JsonObjectExtensionsTest.cs index 6682da1..7c1f46e 100644 --- a/Manatee.Json.Tests/JsonObjectExtensionsTest.cs +++ b/Manatee.Json.Tests/JsonObjectExtensionsTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonObjectExtensionsTest.cs - Namespace: Manatee.Json.Tests - Class Name: JsonObjectExtensionsTest - Purpose: Tests for the JsonObject extension methods for the Json library. - -***************************************************************************************/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests { diff --git a/Manatee.Json.Tests/JsonObjectTest.cs b/Manatee.Json.Tests/JsonObjectTest.cs index d90edf8..f9c292a 100644 --- a/Manatee.Json.Tests/JsonObjectTest.cs +++ b/Manatee.Json.Tests/JsonObjectTest.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonObjectTest.cs - Namespace: Manatee.Json.Tests - Class Name: JsonObjectTest - Purpose: Tests for JsonObject. - -***************************************************************************************/ - -using System.Collections.Generic; -using System.Linq; +using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests diff --git a/Manatee.Json.Tests/JsonValueToStringTest.cs b/Manatee.Json.Tests/JsonValueToStringTest.cs index 9e805e3..7cc3a6f 100644 --- a/Manatee.Json.Tests/JsonValueToStringTest.cs +++ b/Manatee.Json.Tests/JsonValueToStringTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonValueTest.cs - Namespace: Manatee.Json.Tests - Class Name: JsonValueTest - Purpose: Tests for JsonValue. - -***************************************************************************************/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests { diff --git a/Manatee.Json.Tests/LinqExtensionsTest.cs b/Manatee.Json.Tests/LinqExtensionsTest.cs index 4e35b56..37d7560 100644 --- a/Manatee.Json.Tests/LinqExtensionsTest.cs +++ b/Manatee.Json.Tests/LinqExtensionsTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: LinqExtensionsTest.cs - Namespace: Manatee.Json.Tests - Class Name: LinqExtensionsTest - Purpose: Tests for the LINQ extension methods for the Json library. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Serialization; using Manatee.Json.Tests.Test_References; diff --git a/Manatee.Json.Tests/Path/GoessnerExamplesTest.cs b/Manatee.Json.Tests/Path/GoessnerExamplesTest.cs index ccb75ee..1475941 100644 --- a/Manatee.Json.Tests/Path/GoessnerExamplesTest.cs +++ b/Manatee.Json.Tests/Path/GoessnerExamplesTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: GoessnerExamplesTest.cs - Namespace: Manatee.Json.Tests.Path - Class Name: GoessnerExamplesTest - Purpose: Tests for the examples of JSONPath presented on Stefan Goessner's - site, http://goessner.net/articles/JsonPath/. - -***************************************************************************************/ -using System; +using System; using Manatee.Json.Path; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Path/TestSuite/JsonPathTestSuite.cs b/Manatee.Json.Tests/Path/TestSuite/JsonPathTestSuite.cs index 9837781..3b56f60 100644 --- a/Manatee.Json.Tests/Path/TestSuite/JsonPathTestSuite.cs +++ b/Manatee.Json.Tests/Path/TestSuite/JsonPathTestSuite.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathTestSuite.cs - Namespace: Manatee.Json.Tests.Schema.TestSuite - Class Name: JsonPathTestSuite - Purpose: Runs the series of schema tests defined at - https://github.com/json-schema-org/JSON-Schema-Test-Suite. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.IO; using Manatee.Json.Serialization; diff --git a/Manatee.Json.Tests/Schema/AllOfSchemaTest.cs b/Manatee.Json.Tests/Schema/AllOfSchemaTest.cs index add479a..e711cdf 100644 --- a/Manatee.Json.Tests/Schema/AllOfSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/AllOfSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AllOfSchemaTest.cs - Namespace: Manatee.Json.Tests.Schema - Class Name: AllOfSchemaTest - Purpose: Tests for AllOfSchema. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/AnyOfSchemaTest.cs b/Manatee.Json.Tests/Schema/AnyOfSchemaTest.cs index 4c35072..2297dee 100644 --- a/Manatee.Json.Tests/Schema/AnyOfSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/AnyOfSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AnyOfSchemaTest.cs - Namespace: Manatee.Json.Tests.Schema - Class Name: AnyOfSchemaTest - Purpose: Tests for AnyOfSchema. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/ArraySchemaTest.cs b/Manatee.Json.Tests/Schema/ArraySchemaTest.cs index 6a9e810..4c388e2 100644 --- a/Manatee.Json.Tests/Schema/ArraySchemaTest.cs +++ b/Manatee.Json.Tests/Schema/ArraySchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ArraySchemaTest.cs - Namespace: Manatee.Json.Tests - Class Name: ArraySchemaTest - Purpose: Tests for ArraySchema. - -***************************************************************************************/ - -using System; +using System; using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/BooleanSchemaTest.cs b/Manatee.Json.Tests/Schema/BooleanSchemaTest.cs index 26c4913..55b2c96 100644 --- a/Manatee.Json.Tests/Schema/BooleanSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/BooleanSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: BooleanSchemaTest.cs - Namespace: Manatee.Json.Tests - Class Name: BooleanSchemaTest - Purpose: Tests for BooleanSchema. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/EnumSchemaTest.cs b/Manatee.Json.Tests/Schema/EnumSchemaTest.cs index 9b466bb..acd8de6 100644 --- a/Manatee.Json.Tests/Schema/EnumSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/EnumSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: EnumSchemaTest.cs - Namespace: Manatee.Json.Tests - Class Name: EnumSchemaTest - Purpose: Tests for EnumSchema. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/IntegerSchemaTest.cs b/Manatee.Json.Tests/Schema/IntegerSchemaTest.cs index d61406e..67ff6b2 100644 --- a/Manatee.Json.Tests/Schema/IntegerSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/IntegerSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IntegerSchemaTest.cs - Namespace: Manatee.Json.Tests - Class Name: IntegerSchemaTest - Purpose: Tests for IntegerSchema. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/JsonSchemaTypeDefinitionTest.cs b/Manatee.Json.Tests/Schema/JsonSchemaTypeDefinitionTest.cs index e1533d0..ac15f35 100644 --- a/Manatee.Json.Tests/Schema/JsonSchemaTypeDefinitionTest.cs +++ b/Manatee.Json.Tests/Schema/JsonSchemaTypeDefinitionTest.cs @@ -1,31 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaTypeDefinitionTest.cs - Namespace: Manatee.Json.Tests.Schema - Class Name: JsonSchemaTypeDefinitionTest - Purpose: Validates that JsonSchemaTypeDefinitions are working. - -***************************************************************************************/ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Manatee.Json.Schema; +using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests.Schema diff --git a/Manatee.Json.Tests/Schema/JsonSchemaTypeTest.cs b/Manatee.Json.Tests/Schema/JsonSchemaTypeTest.cs index 489af60..34f3662 100644 --- a/Manatee.Json.Tests/Schema/JsonSchemaTypeTest.cs +++ b/Manatee.Json.Tests/Schema/JsonSchemaTypeTest.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaTypeTest.cs - Namespace: Manatee.Json.Tests.Schema - Class Name: JsonSchemaTypeTest - Purpose: Tests to validate the "type" property. - -***************************************************************************************/ -using Manatee.Json.Schema; +using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests.Schema diff --git a/Manatee.Json.Tests/Schema/NotSchemaTest.cs b/Manatee.Json.Tests/Schema/NotSchemaTest.cs index a72273c..217ac4d 100644 --- a/Manatee.Json.Tests/Schema/NotSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/NotSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NotSchemaTest.cs - Namespace: Manatee.Json.Tests.Schema - Class Name: NotSchemaTest - Purpose: Tests for NotSchema. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/NullSchemaTest.cs b/Manatee.Json.Tests/Schema/NullSchemaTest.cs index 2356e3b..6ea84b3 100644 --- a/Manatee.Json.Tests/Schema/NullSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/NullSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NullSchemaTest.cs - Namespace: Manatee.Json.Tests - Class Name: NullSchemaTest - Purpose: Tests for NullSchema. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/NumberSchemaTest.cs b/Manatee.Json.Tests/Schema/NumberSchemaTest.cs index 0df3901..3c34318 100644 --- a/Manatee.Json.Tests/Schema/NumberSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/NumberSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NumberSchemaTest.cs - Namespace: Manatee.Json.Tests - Class Name: NumberSchemaTest - Purpose: Tests for NumberSchema. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/ObjectSchemaTest.cs b/Manatee.Json.Tests/Schema/ObjectSchemaTest.cs index a0bb5cb..616dae1 100644 --- a/Manatee.Json.Tests/Schema/ObjectSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/ObjectSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ObjectSchemaTest.cs - Namespace: Manatee.Json.Tests - Class Name: ObjectSchemaTest - Purpose: Tests for ObjectSchema. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Manatee.Json.Schema; diff --git a/Manatee.Json.Tests/Schema/OneOfSchemaTest.cs b/Manatee.Json.Tests/Schema/OneOfSchemaTest.cs index 4449326..df5bb2f 100644 --- a/Manatee.Json.Tests/Schema/OneOfSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/OneOfSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: OneOfSchemaTest.cs - Namespace: Manatee.Json.Tests.Schema - Class Name: OneOfSchemaTest - Purpose: Tests for OneOfSchema. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/SelfValidationTest.cs b/Manatee.Json.Tests/Schema/SelfValidationTest.cs index 260c5ce..ccbd894 100644 --- a/Manatee.Json.Tests/Schema/SelfValidationTest.cs +++ b/Manatee.Json.Tests/Schema/SelfValidationTest.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SelfValidationTest.cs - Namespace: Manatee.Json.Tests.Schema - Class Name: SelfValidationTest - Purpose: Tests to verify that Draft-04 is self-validating. - -***************************************************************************************/ -using Manatee.Json.Schema; +using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Manatee.Json.Tests.Schema diff --git a/Manatee.Json.Tests/Schema/StringSchemaTest.cs b/Manatee.Json.Tests/Schema/StringSchemaTest.cs index 3e09d2f..6daa3b8 100644 --- a/Manatee.Json.Tests/Schema/StringSchemaTest.cs +++ b/Manatee.Json.Tests/Schema/StringSchemaTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: StringSchemaTest.cs - Namespace: Manatee.Json.Tests - Class Name: StringSchemaTest - Purpose: Tests for ArraySchema. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; using Manatee.Json.Schema; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Schema/TestSuite/JsonSchemaTestSuite.cs b/Manatee.Json.Tests/Schema/TestSuite/JsonSchemaTestSuite.cs index 70a1d9f..dc8f73b 100644 --- a/Manatee.Json.Tests/Schema/TestSuite/JsonSchemaTestSuite.cs +++ b/Manatee.Json.Tests/Schema/TestSuite/JsonSchemaTestSuite.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaTestSuite.cs - Namespace: Manatee.Json.Tests.Schema.TestSuite - Class Name: JsonSchemaTestSuite - Purpose: Runs the series of schema tests defined at - https://github.com/json-schema-org/JSON-Schema-Test-Suite. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.IO; using Manatee.Json.Schema; diff --git a/Manatee.Json.Tests/Schema/TestSuite/SchemaTest.cs b/Manatee.Json.Tests/Schema/TestSuite/SchemaTest.cs index 9970023..5783795 100644 --- a/Manatee.Json.Tests/Schema/TestSuite/SchemaTest.cs +++ b/Manatee.Json.Tests/Schema/TestSuite/SchemaTest.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SchemaTest.cs - Namespace: Manatee.Json.Tests.Schema.TestSuite - Class Name: SchemaTest - Purpose: Models one of the schema tests defined at - https://github.com/json-schema-org/JSON-Schema-Test-Suite. - -***************************************************************************************/ using System; using Manatee.Json.Serialization; diff --git a/Manatee.Json.Tests/Schema/TestSuite/SchemaTestSet.cs b/Manatee.Json.Tests/Schema/TestSuite/SchemaTestSet.cs index a1eca44..3c62d54 100644 --- a/Manatee.Json.Tests/Schema/TestSuite/SchemaTestSet.cs +++ b/Manatee.Json.Tests/Schema/TestSuite/SchemaTestSet.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SchemaTestSet.cs - Namespace: Manatee.Json.Tests.Schema.TestSuite - Class Name: SchemaTestSet - Purpose: Models a set of the schema tests defined at - https://github.com/json-schema-org/JSON-Schema-Test-Suite. - -***************************************************************************************/ using System; using System.Collections.Generic; using Manatee.Json.Schema; diff --git a/Manatee.Json.Tests/Serialization/Internal/TypeGeneratorTest.cs b/Manatee.Json.Tests/Serialization/Internal/TypeGeneratorTest.cs index 06fc272..b99b7a4 100644 --- a/Manatee.Json.Tests/Serialization/Internal/TypeGeneratorTest.cs +++ b/Manatee.Json.Tests/Serialization/Internal/TypeGeneratorTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: TypeGeneratorTest.cs - Namespace: Manatee.Json.Tests.Serialization.Internal - Class Name: TypeGeneratorTest - Purpose: This is a test class for TypeGenerator and is intended - to contain all TypeGenerator Unit Tests - -***************************************************************************************/ -using System; +using System; using Manatee.Json.Serialization.Internal; using Manatee.Json.Tests.Test_References; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.Tests/Serialization/JsonDeserializerTest.cs b/Manatee.Json.Tests/Serialization/JsonDeserializerTest.cs index 5c71021..d57f095 100644 --- a/Manatee.Json.Tests/Serialization/JsonDeserializerTest.cs +++ b/Manatee.Json.Tests/Serialization/JsonDeserializerTest.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonDeserializerTest.cs - Namespace: Manatee.Json.Tests.Serialization - Class Name: JsonDeserializerTest - Purpose: This is a test class for JsonSerializer and is intended - to contain all JsonSerializer deserialization unit tests. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Manatee.Json.Serialization; diff --git a/Manatee.Json.Tests/Serialization/JsonSerializerTest.cs b/Manatee.Json.Tests/Serialization/JsonSerializerTest.cs index 965086e..ada198c 100644 --- a/Manatee.Json.Tests/Serialization/JsonSerializerTest.cs +++ b/Manatee.Json.Tests/Serialization/JsonSerializerTest.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSerializerTest.cs - Namespace: Manatee.Json.Tests.Serialization - Class Name: JsonSerializerTest - Purpose: This is a test class for JsonSerializer and is intended - to contain all JsonSerializer serialization unit tests. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using Manatee.Json.Serialization; using Manatee.Json.Tests.Test_References; diff --git a/Manatee.Json.Tests/Test References/AbstractClass.cs b/Manatee.Json.Tests/Test References/AbstractClass.cs index 7dde151..b0f5dff 100644 --- a/Manatee.Json.Tests/Test References/AbstractClass.cs +++ b/Manatee.Json.Tests/Test References/AbstractClass.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AbstractClass.cs - Namespace: Manatee.Tests.Test_References - Class Name: AbstractClass - Purpose: Abstract class to be used in testing the Manatee.Json - library. - -***************************************************************************************/ -namespace Manatee.Json.Tests.Test_References +namespace Manatee.Json.Tests.Test_References { public abstract class AbstractClass { diff --git a/Manatee.Json.Tests/Test References/DerivedClass.cs b/Manatee.Json.Tests/Test References/DerivedClass.cs index 59347ac..779bf79 100644 --- a/Manatee.Json.Tests/Test References/DerivedClass.cs +++ b/Manatee.Json.Tests/Test References/DerivedClass.cs @@ -1,30 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DerivedClass.cs - Namespace: Manatee.Tests.Test_References - Class Name: DerivedClass - Purpose: Derived class to be used in testing the Manatee.Json - library. - -***************************************************************************************/ - -using Manatee.Json.Schema; - -namespace Manatee.Json.Tests.Test_References +namespace Manatee.Json.Tests.Test_References { public class DerivedClass : AbstractClass { diff --git a/Manatee.Json.Tests/Test References/IInterface.cs b/Manatee.Json.Tests/Test References/IInterface.cs index 5d75059..b80fcfa 100644 --- a/Manatee.Json.Tests/Test References/IInterface.cs +++ b/Manatee.Json.Tests/Test References/IInterface.cs @@ -1,27 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IInterface.cs - Namespace: Manatee.Tests.Test_References - Class Name: IInterface - Purpose: Simple interface to be used in testing the Manatee.Json - library. - -***************************************************************************************/ - using System; namespace Manatee.Json.Tests.Test_References diff --git a/Manatee.Json.Tests/Test References/ImplementationClass.cs b/Manatee.Json.Tests/Test References/ImplementationClass.cs index 4a15f86..0074983 100644 --- a/Manatee.Json.Tests/Test References/ImplementationClass.cs +++ b/Manatee.Json.Tests/Test References/ImplementationClass.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ImplementationClass.cs - Namespace: Manatee.Tests.Test_References - Class Name: ImplementationClass - Purpose: Basic implementation of IInterface. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Tests.Test_References { diff --git a/Manatee.Json.Tests/Test References/JsonSerializableClass.cs b/Manatee.Json.Tests/Test References/JsonSerializableClass.cs index 233944e..869d0a0 100644 --- a/Manatee.Json.Tests/Test References/JsonSerializableClass.cs +++ b/Manatee.Json.Tests/Test References/JsonSerializableClass.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonCompatibleClass.cs - Namespace: Manatee.Tests.Test_References - Class Name: JsonCompatibleClass - Purpose: Basic class that implements IJsonCompatible to be used in - testing the Manatee.Json library. - -***************************************************************************************/ - -using Manatee.Json.Serialization; +using Manatee.Json.Serialization; namespace Manatee.Json.Tests.Test_References { diff --git a/Manatee.Json.Tests/Test References/JsonSerializableImplementationClass.cs b/Manatee.Json.Tests/Test References/JsonSerializableImplementationClass.cs index 19ae5f9..7043ac5 100644 --- a/Manatee.Json.Tests/Test References/JsonSerializableImplementationClass.cs +++ b/Manatee.Json.Tests/Test References/JsonSerializableImplementationClass.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSerializableImplementationClass.cs - Namespace: Manatee.Tests.Test_References - Class Name: JsonSerializableImplementationClass - Purpose: Basic class that implements IJsonSerializable to be used in - testing the Manatee.Json library. - -***************************************************************************************/ - -using Manatee.Json.Serialization; +using Manatee.Json.Serialization; namespace Manatee.Json.Tests.Test_References { diff --git a/Manatee.Json.Tests/Test References/ObjectWithAbstractAndInterfaceProps.cs b/Manatee.Json.Tests/Test References/ObjectWithAbstractAndInterfaceProps.cs index e084a83..7f8da71 100644 --- a/Manatee.Json.Tests/Test References/ObjectWithAbstractAndInterfaceProps.cs +++ b/Manatee.Json.Tests/Test References/ObjectWithAbstractAndInterfaceProps.cs @@ -1,29 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ObjectWithAbstractAndInterfaceProps.cs - Namespace: Manatee.Tests.Test_References - Class Name: ObjectWithAbstractAndInterfaceProps - Purpose: Basic class that contains abstract-typed and interface- - typed properties to be used in testing the Manatee.Json - library. - -***************************************************************************************/ - -namespace Manatee.Json.Tests.Test_References +namespace Manatee.Json.Tests.Test_References { public class ObjectWithAbstractAndInterfaceProps { diff --git a/Manatee.Json.Tests/Test References/ObjectWithBasicProps.cs b/Manatee.Json.Tests/Test References/ObjectWithBasicProps.cs index 0665392..a2bb730 100644 --- a/Manatee.Json.Tests/Test References/ObjectWithBasicProps.cs +++ b/Manatee.Json.Tests/Test References/ObjectWithBasicProps.cs @@ -1,29 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ObjectWithBasicProps.cs - Namespace: Manatee.Tests.Test_References - Class Name: ObjectWithBasicProps - Purpose: Basic class that contains basic properties of various - accessibility to be used in testing the Manatee.Json - library. - -***************************************************************************************/ - -using System; +using System; using System.ComponentModel; using Manatee.Json.Serialization; diff --git a/Manatee.Json.Tests/Test References/ObjectWithExtendedProps.cs b/Manatee.Json.Tests/Test References/ObjectWithExtendedProps.cs index b43fc53..c71b548 100644 --- a/Manatee.Json.Tests/Test References/ObjectWithExtendedProps.cs +++ b/Manatee.Json.Tests/Test References/ObjectWithExtendedProps.cs @@ -1,29 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ObjectWithBasicProps.cs - Namespace: Manatee.Tests.Test_References - Class Name: ObjectWithBasicProps - Purpose: Basic class that contains basic properties of various - accessibility to be used in testing the Manatee.Json - library. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; namespace Manatee.Json.Tests.Test_References { diff --git a/Manatee.Json.Tests/XmlExtensionsTest.cs b/Manatee.Json.Tests/XmlExtensionsTest.cs index db9615a..335fadc 100644 --- a/Manatee.Json.Tests/XmlExtensionsTest.cs +++ b/Manatee.Json.Tests/XmlExtensionsTest.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: XmlExtensionsTest.cs - Namespace: Manatee.Json.Tests - Class Name: XmlExtensionsTest - Purpose: Tests for the XML extension methods for the Json library. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Xml.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Manatee.Json.sln.DotSettings.user b/Manatee.Json.sln.DotSettings.user index 9ce5a53..900e72b 100644 --- a/Manatee.Json.sln.DotSettings.user +++ b/Manatee.Json.sln.DotSettings.user @@ -9,10 +9,10 @@ True - (Doc Ln 47 Col 13) + (Doc Ln 24 Col 13) 6ADF0BCF-4E46-4605-A784-51EA6DAC81C7/d:Path/d:Expressions/f:IsLessThanExpression.cs NumberedBookmarkManager True - (Doc Ln 210 Col 20) + (Doc Ln 186 Col 20) 6ADF0BCF-4E46-4605-A784-51EA6DAC81C7/d:Serialization/d:Internal/d:Serializers/f:AutoSerializer.cs NumberedBookmarkManager \ No newline at end of file diff --git a/Manatee.Json/Internal/GeneralExtensions.cs b/Manatee.Json/Internal/GeneralExtensions.cs index 69a1542..0449427 100644 --- a/Manatee.Json/Internal/GeneralExtensions.cs +++ b/Manatee.Json/Internal/GeneralExtensions.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: GeneralExtensions.cs - Namespace: Manatee.Json.Internal - Class Name: GeneralExtensions - Purpose: General-use extension methods for the library. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.IO; diff --git a/Manatee.Json/Internal/JsonPathExpressionInput.cs b/Manatee.Json/Internal/JsonPathExpressionInput.cs deleted file mode 100644 index 7851a83..0000000 --- a/Manatee.Json/Internal/JsonPathExpressionInput.cs +++ /dev/null @@ -1,47 +0,0 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathExpressionInput.cs - Namespace: Manatee.Json.Internal - Class Name: JsonPathExpressionInput - Purpose: Enumerates input types for JSON Path Expressions. - -***************************************************************************************/ -namespace Manatee.Json.Internal -{ - internal enum JsonPathExpressionInput - { - OpenParenth, - CloseParenth, - Number, - Plus, - Minus, - Star, - Slash, - Caret, - Root, - Current, - LessThan, - Equal, - GreaterThan, - Bang, - Quote, - Letter, - And, - Or, - End - } -} \ No newline at end of file diff --git a/Manatee.Json/Internal/XmlNamespacePair.cs b/Manatee.Json/Internal/XmlNamespacePair.cs index 788bdb7..a690900 100644 --- a/Manatee.Json/Internal/XmlNamespacePair.cs +++ b/Manatee.Json/Internal/XmlNamespacePair.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: XmlNamespacePair.cs - Namespace: Manatee.Json.Internal - Class Name: XmlNamespacePair - Purpose: Identifies an XML namespace and its identifying label. - -***************************************************************************************/ -namespace Manatee.Json.Internal +namespace Manatee.Json.Internal { internal class XmlNamespacePair { diff --git a/Manatee.Json/Internal/XmlNamespaceRegistry.cs b/Manatee.Json/Internal/XmlNamespaceRegistry.cs index 87b95df..3d5ce79 100644 --- a/Manatee.Json/Internal/XmlNamespaceRegistry.cs +++ b/Manatee.Json/Internal/XmlNamespaceRegistry.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: XmlNamespacePair.cs - Namespace: Manatee.Json.Internal - Class Name: XmlNamespacePair - Purpose: Maintains a cache of namespace pairs defined by a given - XML element. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; diff --git a/Manatee.Json/JsonArray.cs b/Manatee.Json/JsonArray.cs index bf7334c..0915766 100644 --- a/Manatee.Json/JsonArray.cs +++ b/Manatee.Json/JsonArray.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonArray.cs - Namespace: Manatee.Json - Class Name: JsonArray - Purpose: Represents a collection of JSON values. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/JsonArrayExtensions.cs b/Manatee.Json/JsonArrayExtensions.cs index 469b4a9..e0f2f12 100644 --- a/Manatee.Json/JsonArrayExtensions.cs +++ b/Manatee.Json/JsonArrayExtensions.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Little Crab Solutions - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonArrayExtensions.cs - Namespace: Manatee.Json - Class Name: JsonArrayExtensions - Purpose: Provides extension methods for JsonArrays. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; namespace Manatee.Json { diff --git a/Manatee.Json/JsonObject.cs b/Manatee.Json/JsonObject.cs index c2a9757..feb52d5 100644 --- a/Manatee.Json/JsonObject.cs +++ b/Manatee.Json/JsonObject.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonObject.cs - Namespace: Manatee.Json - Class Name: JsonObject - Purpose: Represents a collection of key:value pairs in a JSON - structure. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/JsonObjectExtensions.cs b/Manatee.Json/JsonObjectExtensions.cs index 660f95e..191b43b 100644 --- a/Manatee.Json/JsonObjectExtensions.cs +++ b/Manatee.Json/JsonObjectExtensions.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Little Crab Solutions - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonObjectExtensions.cs - Namespace: Manatee.Json - Class Name: JsonObjectExtensions - Purpose: Provides extension methods for JsonObjects. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json { diff --git a/Manatee.Json/JsonSyntaxException.cs b/Manatee.Json/JsonSyntaxException.cs index dff9805..4729be9 100644 --- a/Manatee.Json/JsonSyntaxException.cs +++ b/Manatee.Json/JsonSyntaxException.cs @@ -1,29 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSyntaxException.cs - Namespace: Manatee.Json - Class Name: JsonSyntaxException - Purpose: Thrown when an input string contains a syntax error while - parsing a , , - or . - -***************************************************************************************/ - -using System; +using System; using System.Linq; using JetBrains.Annotations; diff --git a/Manatee.Json/JsonValue.cs b/Manatee.Json/JsonValue.cs index ba41ee6..afa960e 100644 --- a/Manatee.Json/JsonValue.cs +++ b/Manatee.Json/JsonValue.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonValue.cs - Namespace: Manatee.Json - Class Name: JsonValue - Purpose: Represents a JSON value. - -***************************************************************************************/ - -using System; +using System; using System.Diagnostics; using System.Globalization; using System.IO; diff --git a/Manatee.Json/JsonValueIncorrectTypeException.cs b/Manatee.Json/JsonValueIncorrectTypeException.cs index 3e880e0..d6bf56d 100644 --- a/Manatee.Json/JsonValueIncorrectTypeException.cs +++ b/Manatee.Json/JsonValueIncorrectTypeException.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonValueIncorrectTypeException.cs - Namespace: Manatee.Json - Class Name: JsonValueIncorrectTypeException - Purpose: Thrown when a value is accessed via the incorrect type accessor. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json { diff --git a/Manatee.Json/JsonValueType.cs b/Manatee.Json/JsonValueType.cs index f76ae2c..0d93e45 100644 --- a/Manatee.Json/JsonValueType.cs +++ b/Manatee.Json/JsonValueType.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonValueType.cs - Namespace: Manatee.Json - Class Name: JsonValueType - Purpose: Specifies various types of values for use in a JSON - key:value pair. - -***************************************************************************************/ -namespace Manatee.Json +namespace Manatee.Json { /// /// Specifies various types of values for use in a JSON key:value pair. diff --git a/Manatee.Json/LinqExtensions.cs b/Manatee.Json/LinqExtensions.cs index abc5366..98c8fd5 100644 --- a/Manatee.Json/LinqExtensions.cs +++ b/Manatee.Json/LinqExtensions.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: LinqExtensions.cs - Namespace: Manatee.Json - Class Name: LinqExtensions - Purpose: LINQ for Manatee.Json - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Manatee.Json.Serialization; diff --git a/Manatee.Json/Manatee.Json-3.5.csproj b/Manatee.Json/Manatee.Json-3.5.csproj index c59e816..5b5ac0a 100644 --- a/Manatee.Json/Manatee.Json-3.5.csproj +++ b/Manatee.Json/Manatee.Json-3.5.csproj @@ -48,7 +48,6 @@ - diff --git a/Manatee.Json/Manatee.Json-4.0.csproj b/Manatee.Json/Manatee.Json-4.0.csproj index 9e1c5ce..713293d 100644 --- a/Manatee.Json/Manatee.Json-4.0.csproj +++ b/Manatee.Json/Manatee.Json-4.0.csproj @@ -50,7 +50,6 @@ - diff --git a/Manatee.Json/Manatee.Json-4.5.csproj b/Manatee.Json/Manatee.Json-4.5.csproj index cb8d35e..86fd369 100644 --- a/Manatee.Json/Manatee.Json-4.5.csproj +++ b/Manatee.Json/Manatee.Json-4.5.csproj @@ -61,7 +61,6 @@ - diff --git a/Manatee.Json/Manatee.Json-Portable.csproj b/Manatee.Json/Manatee.Json-Portable.csproj index 8249230..e8dda2e 100644 --- a/Manatee.Json/Manatee.Json-Portable.csproj +++ b/Manatee.Json/Manatee.Json-Portable.csproj @@ -47,7 +47,6 @@ - diff --git a/Manatee.Json/Parsing/ArrayParser.cs b/Manatee.Json/Parsing/ArrayParser.cs index 9798f66..3913629 100644 --- a/Manatee.Json/Parsing/ArrayParser.cs +++ b/Manatee.Json/Parsing/ArrayParser.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ArrayParser.cs - Namespace: Manatee.Json.Parsing - Class Name: ArrayParser - Purpose: Parses JSON arrays. - -***************************************************************************************/ - using System.IO; using Manatee.Json.Internal; diff --git a/Manatee.Json/Parsing/BoolParser.cs b/Manatee.Json/Parsing/BoolParser.cs index 29cb83b..808de58 100644 --- a/Manatee.Json/Parsing/BoolParser.cs +++ b/Manatee.Json/Parsing/BoolParser.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: BoolParser.cs - Namespace: Manatee.Json.Parsing - Class Name: BoolParser - Purpose: Parses JSON boolean values. - -***************************************************************************************/ - using System; using System.IO; using Manatee.Json.Internal; diff --git a/Manatee.Json/Parsing/IJsonParser.cs b/Manatee.Json/Parsing/IJsonParser.cs index 838e6b1..def1579 100644 --- a/Manatee.Json/Parsing/IJsonParser.cs +++ b/Manatee.Json/Parsing/IJsonParser.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonParser.cs - Namespace: Manatee.Json.Parsing - Class Name: IJsonParser - Purpose: Defines a parser for a single JSON type. - -***************************************************************************************/ - -using System.IO; +using System.IO; namespace Manatee.Json.Parsing { diff --git a/Manatee.Json/Parsing/JsonParser.cs b/Manatee.Json/Parsing/JsonParser.cs index 9def488..73ede35 100644 --- a/Manatee.Json/Parsing/JsonParser.cs +++ b/Manatee.Json/Parsing/JsonParser.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonParser.cs - Namespace: Manatee.Json.Parsing - Class Name: JsonParser - Purpose: Manages parsing of all JSON values. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.IO; diff --git a/Manatee.Json/Parsing/NullParser.cs b/Manatee.Json/Parsing/NullParser.cs index 038d02c..3d5118c 100644 --- a/Manatee.Json/Parsing/NullParser.cs +++ b/Manatee.Json/Parsing/NullParser.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NullParser.cs - Namespace: Manatee.Json.Parsing - Class Name: NullParser - Purpose: Parses JSON null. - -***************************************************************************************/ - -using System.IO; +using System.IO; using Manatee.Json.Internal; namespace Manatee.Json.Parsing diff --git a/Manatee.Json/Parsing/NumberParser.cs b/Manatee.Json/Parsing/NumberParser.cs index 0a2de7b..390f1eb 100644 --- a/Manatee.Json/Parsing/NumberParser.cs +++ b/Manatee.Json/Parsing/NumberParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NumberParser.cs - Namespace: Manatee.Json.Parsing - Class Name: NumberParser - Purpose: Parses JSON numbers. - -***************************************************************************************/ -using System; +using System; using System.Globalization; using System.IO; using System.Linq; diff --git a/Manatee.Json/Parsing/ObjectParser.cs b/Manatee.Json/Parsing/ObjectParser.cs index e412412..5a2380e 100644 --- a/Manatee.Json/Parsing/ObjectParser.cs +++ b/Manatee.Json/Parsing/ObjectParser.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ObjectParser.cs - Namespace: Manatee.Json.Parsing - Class Name: ObjectParser - Purpose: Parses JSON objects. - -***************************************************************************************/ - using System.IO; using Manatee.Json.Internal; diff --git a/Manatee.Json/Parsing/StringParser.cs b/Manatee.Json/Parsing/StringParser.cs index f50363e..e62707a 100644 --- a/Manatee.Json/Parsing/StringParser.cs +++ b/Manatee.Json/Parsing/StringParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: StringParser.cs - Namespace: Manatee.Json.Parsing - Class Name: StringParser - Purpose: Parses JSON strings. - -***************************************************************************************/ -using System; +using System; using System.IO; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/ArrayParameters/FilterExpressionQuery.cs b/Manatee.Json/Path/ArrayParameters/FilterExpressionQuery.cs index 554b04f..3992d47 100644 --- a/Manatee.Json/Path/ArrayParameters/FilterExpressionQuery.cs +++ b/Manatee.Json/Path/ArrayParameters/FilterExpressionQuery.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: FilterExpressionQuery.cs - Namespace: Manatee.Json.Path.ArrayParameters - Class Name: FilterExpressionQuery - Purpose: Provides expression-based filtering for array queries. - -***************************************************************************************/ - using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Path/ArrayParameters/IndexExpressionQuery.cs b/Manatee.Json/Path/ArrayParameters/IndexExpressionQuery.cs index 9ac1316..8f63baa 100644 --- a/Manatee.Json/Path/ArrayParameters/IndexExpressionQuery.cs +++ b/Manatee.Json/Path/ArrayParameters/IndexExpressionQuery.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IndexExpressionQuery.cs - Namespace: Manatee.Json.Path.ArrayParameters - Class Name: IndexExpressionQuery - Purpose: Provides expression-based indexing for array queries. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Path/ArrayParameters/SliceQuery.cs b/Manatee.Json/Path/ArrayParameters/SliceQuery.cs index b536732..be2a817 100644 --- a/Manatee.Json/Path/ArrayParameters/SliceQuery.cs +++ b/Manatee.Json/Path/ArrayParameters/SliceQuery.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SliceQuery.cs - Namespace: Manatee.Json.Path.ArrayParameters - Class Name: SliceQuery - Purpose: Provides array-slice-syntax queries for arrays. - -***************************************************************************************/ using System; using Manatee.Json.Internal; using System.Collections.Generic; diff --git a/Manatee.Json/Path/ArrayParameters/WildCardQuery.cs b/Manatee.Json/Path/ArrayParameters/WildCardQuery.cs index fc0fe3d..968c26e 100644 --- a/Manatee.Json/Path/ArrayParameters/WildCardQuery.cs +++ b/Manatee.Json/Path/ArrayParameters/WildCardQuery.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: WildCardQuery.cs - Namespace: Manatee.Json.Path.ArrayParameters - Class Name: WildCardQuery - Purpose: Provides a wildcard for array queries. - -***************************************************************************************/ using System; using System.Collections.Generic; diff --git a/Manatee.Json/Path/Expressions/AddExpression.cs b/Manatee.Json/Path/Expressions/AddExpression.cs index 87bdf29..f6e0ced 100644 --- a/Manatee.Json/Path/Expressions/AddExpression.cs +++ b/Manatee.Json/Path/Expressions/AddExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AddExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: AddExpression - Purpose: Expresses the intent to add two numbers. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/AndExpression.cs b/Manatee.Json/Path/Expressions/AndExpression.cs index ebf61e2..6dde084 100644 --- a/Manatee.Json/Path/Expressions/AndExpression.cs +++ b/Manatee.Json/Path/Expressions/AndExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AndExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: AndExpression - Purpose: Expresses the intent to perform a boolean AND. - -***************************************************************************************/ using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/ArrayIndexExpression.cs b/Manatee.Json/Path/Expressions/ArrayIndexExpression.cs index c4a7f16..769e327 100644 --- a/Manatee.Json/Path/Expressions/ArrayIndexExpression.cs +++ b/Manatee.Json/Path/Expressions/ArrayIndexExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ArrayIndexExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: ArrayIndexExpression - Purpose: Expresses the intent to retrieve a value by providing a - numeric array index. - -***************************************************************************************/ using System; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Expressions/ConversionExpression.cs b/Manatee.Json/Path/Expressions/ConversionExpression.cs index 1e9aeba..c41b67d 100644 --- a/Manatee.Json/Path/Expressions/ConversionExpression.cs +++ b/Manatee.Json/Path/Expressions/ConversionExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ConversionExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: ConversionExpression - Purpose: Expresses the intent to convert from one type to another. - -***************************************************************************************/ - using System; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Expressions/DivideExpression.cs b/Manatee.Json/Path/Expressions/DivideExpression.cs index e875e2c..6cb2e29 100644 --- a/Manatee.Json/Path/Expressions/DivideExpression.cs +++ b/Manatee.Json/Path/Expressions/DivideExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DivideExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: DivideExpression - Purpose: Expresses the intent to divide one number by another. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/ExponentExpression.cs b/Manatee.Json/Path/Expressions/ExponentExpression.cs index defc193..6768db9 100644 --- a/Manatee.Json/Path/Expressions/ExponentExpression.cs +++ b/Manatee.Json/Path/Expressions/ExponentExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExponentExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: ExponentExpression - Purpose: Expresses the intent to raise one number to the power of another. - -***************************************************************************************/ using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/Expression.cs b/Manatee.Json/Path/Expressions/Expression.cs index cfa8dbb..033fe3f 100644 --- a/Manatee.Json/Path/Expressions/Expression.cs +++ b/Manatee.Json/Path/Expressions/Expression.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: Expression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: Expression - Purpose: Represents an expression in JsonPaths. - -***************************************************************************************/ -using System; +using System; namespace Manatee.Json.Path.Expressions { diff --git a/Manatee.Json/Path/Expressions/ExpressionTreeBranch.cs b/Manatee.Json/Path/Expressions/ExpressionTreeBranch.cs index 08179d3..6df333e 100644 --- a/Manatee.Json/Path/Expressions/ExpressionTreeBranch.cs +++ b/Manatee.Json/Path/Expressions/ExpressionTreeBranch.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExpressionTreeBranch.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: ExpressionTreeBranch - Purpose: Represents a branch in an expression tree. - -***************************************************************************************/ namespace Manatee.Json.Path.Expressions { internal abstract class ExpressionTreeBranch : ExpressionTreeNode diff --git a/Manatee.Json/Path/Expressions/ExpressionTreeNode.cs b/Manatee.Json/Path/Expressions/ExpressionTreeNode.cs index a4f16d0..d455229 100644 --- a/Manatee.Json/Path/Expressions/ExpressionTreeNode.cs +++ b/Manatee.Json/Path/Expressions/ExpressionTreeNode.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExpressionTreeNode.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: ExpressionTreeNode - Purpose: Represents a single node in an expression tree. - -***************************************************************************************/ namespace Manatee.Json.Path.Expressions { internal abstract class ExpressionTreeNode diff --git a/Manatee.Json/Path/Expressions/FieldExpression.cs b/Manatee.Json/Path/Expressions/FieldExpression.cs index a03197c..01f0db8 100644 --- a/Manatee.Json/Path/Expressions/FieldExpression.cs +++ b/Manatee.Json/Path/Expressions/FieldExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: FieldExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: FieldExpression - Purpose: Expresses the intent to retrieve a value from a field. - -***************************************************************************************/ - using System; using System.Reflection; diff --git a/Manatee.Json/Path/Expressions/HasPropertyExpression.cs b/Manatee.Json/Path/Expressions/HasPropertyExpression.cs index 79d7bec..fb29733 100644 --- a/Manatee.Json/Path/Expressions/HasPropertyExpression.cs +++ b/Manatee.Json/Path/Expressions/HasPropertyExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: HasPropertyExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: HasPropertyExpression - Purpose: Expresses the intent to search for a property with a given name. - -***************************************************************************************/ using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/IndexOfExpression.cs b/Manatee.Json/Path/Expressions/IndexOfExpression.cs index 65f8f29..d4aae74 100644 --- a/Manatee.Json/Path/Expressions/IndexOfExpression.cs +++ b/Manatee.Json/Path/Expressions/IndexOfExpression.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IndexOfExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: IndexOfExpression - Purpose: Expresses the intent to retrieve the index of a given value. - -***************************************************************************************/ -using System; +using System; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Expressions/IsEqualExpression.cs b/Manatee.Json/Path/Expressions/IsEqualExpression.cs index 3221031..f44f115 100644 --- a/Manatee.Json/Path/Expressions/IsEqualExpression.cs +++ b/Manatee.Json/Path/Expressions/IsEqualExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsEqualExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: IsEqualExpression - Purpose: Expresses the intent to compare two values. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/IsGreaterThanEqualExpression.cs b/Manatee.Json/Path/Expressions/IsGreaterThanEqualExpression.cs index 8f1e0e4..eba99d0 100644 --- a/Manatee.Json/Path/Expressions/IsGreaterThanEqualExpression.cs +++ b/Manatee.Json/Path/Expressions/IsGreaterThanEqualExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsGreaterThanEqualExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: IsGreaterThanEqualExpression - Purpose: Expresses the intent to compare two values. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/IsGreaterThanExpression.cs b/Manatee.Json/Path/Expressions/IsGreaterThanExpression.cs index 93d9ba2..57c9305 100644 --- a/Manatee.Json/Path/Expressions/IsGreaterThanExpression.cs +++ b/Manatee.Json/Path/Expressions/IsGreaterThanExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsGreaterThanExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: IsGreaterThanExpression - Purpose: Expresses the intent to compare two values. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/IsLessThanEqualExpression.cs b/Manatee.Json/Path/Expressions/IsLessThanEqualExpression.cs index cdfa826..2a4976a 100644 --- a/Manatee.Json/Path/Expressions/IsLessThanEqualExpression.cs +++ b/Manatee.Json/Path/Expressions/IsLessThanEqualExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsLessThanEqualExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: IsLessThanEqualExpression - Purpose: Expresses the intent to compare two values. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/IsLessThanExpression.cs b/Manatee.Json/Path/Expressions/IsLessThanExpression.cs index a1952d0..bae56df 100644 --- a/Manatee.Json/Path/Expressions/IsLessThanExpression.cs +++ b/Manatee.Json/Path/Expressions/IsLessThanExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsLessThanExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: IsLessThanExpression - Purpose: Expresses the intent to compare two values. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/IsNotEqualExpression.cs b/Manatee.Json/Path/Expressions/IsNotEqualExpression.cs index d7c36cc..652b9dd 100644 --- a/Manatee.Json/Path/Expressions/IsNotEqualExpression.cs +++ b/Manatee.Json/Path/Expressions/IsNotEqualExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsNotEqualExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: IsNotEqualExpression - Purpose: Expresses the intent to compare two values. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/LengthExpression.cs b/Manatee.Json/Path/Expressions/LengthExpression.cs index c50bf9b..7f2ac49 100644 --- a/Manatee.Json/Path/Expressions/LengthExpression.cs +++ b/Manatee.Json/Path/Expressions/LengthExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: LengthExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: LengthExpression - Purpose: Expresses the intent to retrieve the length of an array. - -***************************************************************************************/ using System; using System.Linq; diff --git a/Manatee.Json/Path/Expressions/ModuloExpression.cs b/Manatee.Json/Path/Expressions/ModuloExpression.cs index 93f846d..6c835b9 100644 --- a/Manatee.Json/Path/Expressions/ModuloExpression.cs +++ b/Manatee.Json/Path/Expressions/ModuloExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ModuloExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: ModuloExpression - Purpose: Expresses the intent to calculate the modulo of two numbers. - -***************************************************************************************/ using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/MultiplyExpression.cs b/Manatee.Json/Path/Expressions/MultiplyExpression.cs index 3892ce0..52008e3 100644 --- a/Manatee.Json/Path/Expressions/MultiplyExpression.cs +++ b/Manatee.Json/Path/Expressions/MultiplyExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MultiplyExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: MultiplyExpression - Purpose: Expresses the intent to multiply two numbers. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/NameExpresssion.cs b/Manatee.Json/Path/Expressions/NameExpresssion.cs index 83bdb8b..fe36471 100644 --- a/Manatee.Json/Path/Expressions/NameExpresssion.cs +++ b/Manatee.Json/Path/Expressions/NameExpresssion.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NameExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: NameExpression - Purpose: Expresses the intent to retrieve a value from a named - property in an object. - -***************************************************************************************/ using System; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Expressions/NegateExpression.cs b/Manatee.Json/Path/Expressions/NegateExpression.cs index 77deaec..8296ba6 100644 --- a/Manatee.Json/Path/Expressions/NegateExpression.cs +++ b/Manatee.Json/Path/Expressions/NegateExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NegateExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: NegateExpression - Purpose: Expresses the intent to negate a number. - -***************************************************************************************/ using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/NotExpression.cs b/Manatee.Json/Path/Expressions/NotExpression.cs index 3c5d550..bac84e3 100644 --- a/Manatee.Json/Path/Expressions/NotExpression.cs +++ b/Manatee.Json/Path/Expressions/NotExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NotExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: NotExpression - Purpose: Expresses the intent to invert a boolean. - -***************************************************************************************/ using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/OrExpression.cs b/Manatee.Json/Path/Expressions/OrExpression.cs index 10f1e12..ec1a3b7 100644 --- a/Manatee.Json/Path/Expressions/OrExpression.cs +++ b/Manatee.Json/Path/Expressions/OrExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: OrExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: OrExpression - Purpose: Expresses the intent to perform a boolean OR. - -***************************************************************************************/ using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/Parsing/AddExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/AddExpressionParser.cs index ac5d5ca..eabece4 100644 --- a/Manatee.Json/Path/Expressions/Parsing/AddExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/AddExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AddExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: AddExpressionParser - Purpose: Parses addition expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class AddExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/AndExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/AndExpressionParser.cs index a7569f4..a1a961b 100644 --- a/Manatee.Json/Path/Expressions/Parsing/AndExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/AndExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AndExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: AndExpressionParser - Purpose: Parses logical-and expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class AndExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/ConstantBooleanExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/ConstantBooleanExpressionParser.cs index 817dca1..1c54e1d 100644 --- a/Manatee.Json/Path/Expressions/Parsing/ConstantBooleanExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/ConstantBooleanExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ConstantBooleanExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: ConstantBooleanExpressionParser - Purpose: Parses boolean expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class ConstantBooleanExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/ConstantNumberExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/ConstantNumberExpressionParser.cs index 9d86428..860f4a4 100644 --- a/Manatee.Json/Path/Expressions/Parsing/ConstantNumberExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/ConstantNumberExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ConstantNumberExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: ConstantNumberExpressionParser - Purpose: Parses number expressions within JsonPath. - -***************************************************************************************/ -using Manatee.Json.Path.Parsing; +using Manatee.Json.Path.Parsing; namespace Manatee.Json.Path.Expressions.Parsing { diff --git a/Manatee.Json/Path/Expressions/Parsing/ConstantStringExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/ConstantStringExpressionParser.cs index 7b8a2e6..926e6b4 100644 --- a/Manatee.Json/Path/Expressions/Parsing/ConstantStringExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/ConstantStringExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ConstantStringExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: ConstantStringExpressionParser - Purpose: Parses string expressions within JsonPath. - -***************************************************************************************/ -using Manatee.Json.Internal; +using Manatee.Json.Internal; using Manatee.Json.Path.Parsing; namespace Manatee.Json.Path.Expressions.Parsing diff --git a/Manatee.Json/Path/Expressions/Parsing/DivideExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/DivideExpressionParser.cs index fbcc224..0a2b5af 100644 --- a/Manatee.Json/Path/Expressions/Parsing/DivideExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/DivideExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DivideExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: DivideExpressionParser - Purpose: Parses division expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class DivideExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/ExponentExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/ExponentExpressionParser.cs index f572226..68e9f52 100644 --- a/Manatee.Json/Path/Expressions/Parsing/ExponentExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/ExponentExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExponentExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: ExponentExpressionParser - Purpose: Parses exponential expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class ExponentExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/ExpressionEndParser.cs b/Manatee.Json/Path/Expressions/Parsing/ExpressionEndParser.cs index 1639f18..b2f69f3 100644 --- a/Manatee.Json/Path/Expressions/Parsing/ExpressionEndParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/ExpressionEndParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExpressionEndParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: ExpressionEndParser - Purpose: Indicates the end of expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class ExpressionEndParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/GroupExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/GroupExpressionParser.cs index 5ba72f4..10ab145 100644 --- a/Manatee.Json/Path/Expressions/Parsing/GroupExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/GroupExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: GroupExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: GroupExpressionParser - Purpose: Parses parenthetical groups in expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class GroupExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/IJsonPathExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/IJsonPathExpressionParser.cs index 37ef179..136c7b8 100644 --- a/Manatee.Json/Path/Expressions/Parsing/IJsonPathExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/IJsonPathExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonPathExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: IJsonPathExpressionParser - Purpose: Defines methods to parse JsonPath expressions. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal interface IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/IsEqualExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/IsEqualExpressionParser.cs index d9bb1da..ca0c16a 100644 --- a/Manatee.Json/Path/Expressions/Parsing/IsEqualExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/IsEqualExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsEqualExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: IsEqualExpressionParser - Purpose: Parses equality expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class IsEqualExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/IsGreaterThanEqualExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/IsGreaterThanEqualExpressionParser.cs index b69790a..556d4ed 100644 --- a/Manatee.Json/Path/Expressions/Parsing/IsGreaterThanEqualExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/IsGreaterThanEqualExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsGreaterThanEqualExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: IsGreaterThanEqualExpressionParser - Purpose: Parses greater-than-or-equal inequality expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class IsGreaterThanEqualExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/IsGreaterThanExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/IsGreaterThanExpressionParser.cs index c1b1e90..49653f9 100644 --- a/Manatee.Json/Path/Expressions/Parsing/IsGreaterThanExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/IsGreaterThanExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsGreaterThanExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: IsGreaterThanExpressionParser - Purpose: Parses greater-than inequality expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class IsGreaterThanExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/IsLessThanEqualExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/IsLessThanEqualExpressionParser.cs index 3e4255f..7740fa5 100644 --- a/Manatee.Json/Path/Expressions/Parsing/IsLessThanEqualExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/IsLessThanEqualExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsLessThanEqualExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: IsLessThanEqualExpressionParser - Purpose: Parses less-than-or-equal inequality expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class IsLessThanEqualExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/IsLessThanExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/IsLessThanExpressionParser.cs index df40e96..ade45d9 100644 --- a/Manatee.Json/Path/Expressions/Parsing/IsLessThanExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/IsLessThanExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsLessThanExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: IsLessThanExpressionParser - Purpose: Parses lees-than inequality expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class IsLessThanExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/IsNotEqualExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/IsNotEqualExpressionParser.cs index a22caac..fe7aae5 100644 --- a/Manatee.Json/Path/Expressions/Parsing/IsNotEqualExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/IsNotEqualExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsNotEqualExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: IsNotEqualExpressionParser - Purpose: Parses inequality expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class IsNotEqualExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/JsonPathExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/JsonPathExpressionParser.cs index 9431dd9..fb07a4e 100644 --- a/Manatee.Json/Path/Expressions/Parsing/JsonPathExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/JsonPathExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: JsonPathExpressionParser - Purpose: Parses JsonPath expressions within JsonPath. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/Manatee.Json/Path/Expressions/Parsing/ModuloExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/ModuloExpressionParser.cs index 60099f1..c745ac7 100644 --- a/Manatee.Json/Path/Expressions/Parsing/ModuloExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/ModuloExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ModuloExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: ModuloExpressionParser - Purpose: Parses modulo expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class ModuloExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/MultiplyExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/MultiplyExpressionParser.cs index f150384..b7a0066 100644 --- a/Manatee.Json/Path/Expressions/Parsing/MultiplyExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/MultiplyExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MultiplyExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: MultiplyExpressionParser - Purpose: Parses mulitplication expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class MultiplyExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/NotExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/NotExpressionParser.cs index 3f1fe9f..e5ca09b 100644 --- a/Manatee.Json/Path/Expressions/Parsing/NotExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/NotExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NotExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: NotExpressionParser - Purpose: Parses logical-not expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class NotExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/OrExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/OrExpressionParser.cs index 8f1c490..09b1581 100644 --- a/Manatee.Json/Path/Expressions/Parsing/OrExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/OrExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: OrExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: OrExpressionParser - Purpose: Parses logical-or expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class OrExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/Parsing/PathExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/PathExpressionParser.cs index e2f81b6..1f8e19c 100644 --- a/Manatee.Json/Path/Expressions/Parsing/PathExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/PathExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PathExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: PathExpressionParser - Purpose: Parses expressions within JsonPath. - -***************************************************************************************/ -using System; +using System; using System.Linq; using Manatee.Json.Internal; using Manatee.Json.Parsing; diff --git a/Manatee.Json/Path/Expressions/Parsing/SubtractExpressionParser.cs b/Manatee.Json/Path/Expressions/Parsing/SubtractExpressionParser.cs index 1830243..72ce448 100644 --- a/Manatee.Json/Path/Expressions/Parsing/SubtractExpressionParser.cs +++ b/Manatee.Json/Path/Expressions/Parsing/SubtractExpressionParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SubtractExpressionParser.cs - Namespace: Manatee.Json.Path.Expressions.Parsing - Class Name: SubtractExpressionParser - Purpose: Parses subtraction expressions within JsonPath. - -***************************************************************************************/ -namespace Manatee.Json.Path.Expressions.Parsing +namespace Manatee.Json.Path.Expressions.Parsing { internal class SubtractExpressionParser : IJsonPathExpressionParser { diff --git a/Manatee.Json/Path/Expressions/PathExpression.cs b/Manatee.Json/Path/Expressions/PathExpression.cs index d14378a..8e8a43f 100644 --- a/Manatee.Json/Path/Expressions/PathExpression.cs +++ b/Manatee.Json/Path/Expressions/PathExpression.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PathExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: PathExpression - Purpose: Provides a base class for expressions which are part of paths. - -***************************************************************************************/ using System; using System.Linq; diff --git a/Manatee.Json/Path/Expressions/SubtractExpression.cs b/Manatee.Json/Path/Expressions/SubtractExpression.cs index 7da05e7..2508039 100644 --- a/Manatee.Json/Path/Expressions/SubtractExpression.cs +++ b/Manatee.Json/Path/Expressions/SubtractExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SubtractExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: SubtractExpression - Purpose: Expresses the intent to subtract one number from another. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/Expressions/Translation/AddExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/AddExpressionTranslator.cs index 6fb6391..142f439 100644 --- a/Manatee.Json/Path/Expressions/Translation/AddExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/AddExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AddExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: AddExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with an ADD - operation to an AddExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/AndExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/AndExpressionTranslator.cs index 78bc362..efccbf7 100644 --- a/Manatee.Json/Path/Expressions/Translation/AndExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/AndExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AndExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: AndExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with an AND - operation to an AndExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/ArrayIndexExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/ArrayIndexExpressionTranslator.cs index de91ad7..a19a7c7 100644 --- a/Manatee.Json/Path/Expressions/Translation/ArrayIndexExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/ArrayIndexExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ArrayIndexExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: ArrayIndexExpressionTranslator - Purpose: Translates from a LINQ Method Call Expression to an - ArrayIndexExpression. - -***************************************************************************************/ using System; using System.Linq; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/BooleanValueExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/BooleanValueExpressionTranslator.cs index a1e93c9..f697165 100644 --- a/Manatee.Json/Path/Expressions/Translation/BooleanValueExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/BooleanValueExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: BooleanValueExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: BooleanValueExpressionTranslator - Purpose: Translates from a LINQ Constant Expression with a boolean - value to a ValueExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/ConversionExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/ConversionExpressionTranslator.cs index 7471776..8482189 100644 --- a/Manatee.Json/Path/Expressions/Translation/ConversionExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/ConversionExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ConversionExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: ConversionExpressionTranslator - Purpose: Translates from a LINQ Unary Expression with a CONVERT - operation to a ConversionExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/DivideExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/DivideExpressionTranslator.cs index 9adffc1..03fbe8e 100644 --- a/Manatee.Json/Path/Expressions/Translation/DivideExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/DivideExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DivideExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: DivideExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with a DIVIDE - operation to a DivideExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/ExponentExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/ExponentExpressionTranslator.cs index 6af5660..d1be443 100644 --- a/Manatee.Json/Path/Expressions/Translation/ExponentExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/ExponentExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExponentExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: ExponentExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with an EXPONENT - operation to a ExponentExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/ExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/ExpressionTranslator.cs index 7e7582c..5d781e0 100644 --- a/Manatee.Json/Path/Expressions/Translation/ExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/ExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: ExpressionTranslator - Purpose: Coordinates translation between LINQ expressions and the - local Expression. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Path/Expressions/Translation/FieldExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/FieldExpressionTranslator.cs index 0f0a7c8..28abb7b 100644 --- a/Manatee.Json/Path/Expressions/Translation/FieldExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/FieldExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: FieldExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: FieldExpressionTranslator - Purpose: Translates from a LINQ Member Expression with field info - to a FieldExpression. - -***************************************************************************************/ using System.Linq.Expressions; using System.Reflection; diff --git a/Manatee.Json/Path/Expressions/Translation/HasPropertyExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/HasPropertyExpressionTranslator.cs index 8dec90a..2062f58 100644 --- a/Manatee.Json/Path/Expressions/Translation/HasPropertyExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/HasPropertyExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: HasPropertyExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: HasPropertyExpressionTranslator - Purpose: Translates from a LINQ Method Call Expression with a - HasProperty method to a HasPropertyExpression. - -***************************************************************************************/ using System; using System.Linq; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/IExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/IExpressionTranslator.cs index 0a115b0..5294dad 100644 --- a/Manatee.Json/Path/Expressions/Translation/IExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/IExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: IExpressionTranslator - Purpose: Defines methods required for translation of a single type - of expression. - -***************************************************************************************/ using System.Linq.Expressions; namespace Manatee.Json.Path.Expressions.Translation diff --git a/Manatee.Json/Path/Expressions/Translation/IndexOfExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/IndexOfExpressionTranslator.cs index 74d3311..11a07e9 100644 --- a/Manatee.Json/Path/Expressions/Translation/IndexOfExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/IndexOfExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IndexOfExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: IndexOfExpressionTranslator - Purpose: Translates from a LINQ Method Call Expression to an - IndexOfExpression. - -***************************************************************************************/ using System; using System.Linq; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/IsEqualExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/IsEqualExpressionTranslator.cs index f469332..17f81c8 100644 --- a/Manatee.Json/Path/Expressions/Translation/IsEqualExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/IsEqualExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsEqualExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: IsEqualExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with an EQUALS - operation to an IsEqualExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/IsGreaterThanEqualExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/IsGreaterThanEqualExpressionTranslator.cs index 9a7db0c..05ad406 100644 --- a/Manatee.Json/Path/Expressions/Translation/IsGreaterThanEqualExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/IsGreaterThanEqualExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsGreaterThanEqualExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: IsGreaterThanEqualExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with a GREATER THAN - OR EQUAL TO operation to an IsGreaterThanEqualExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/IsGreaterThanExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/IsGreaterThanExpressionTranslator.cs index 266fb41..bb26a9b 100644 --- a/Manatee.Json/Path/Expressions/Translation/IsGreaterThanExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/IsGreaterThanExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsGreaterThanExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: IsGreaterThanExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with a GREATER THAN - operation to an IsGreaterThanExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/IsLessThanEqualExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/IsLessThanEqualExpressionTranslator.cs index 4d3ad59..45796c5 100644 --- a/Manatee.Json/Path/Expressions/Translation/IsLessThanEqualExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/IsLessThanEqualExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsLessThanEqualExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: IsLessThanEqualExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with an LESS THAN - OR EQUAL TO operation to an IsLessThanEqualExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/IsLessThanExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/IsLessThanExpressionTranslator.cs index 99a0fdd..090682a 100644 --- a/Manatee.Json/Path/Expressions/Translation/IsLessThanExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/IsLessThanExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsLessThanExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: IsLessThanExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with a LESS THAN - operation to an IsLessThanExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/IsNotEqualExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/IsNotEqualExpressionTranslator.cs index 3426b5d..30ffbef 100644 --- a/Manatee.Json/Path/Expressions/Translation/IsNotEqualExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/IsNotEqualExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IsNotEqualExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: IsNotEqualExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with a NOT EQUAL - operation to an IsNotEqualExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/LengthExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/LengthExpressionTranslator.cs index 9ab7173..2524391 100644 --- a/Manatee.Json/Path/Expressions/Translation/LengthExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/LengthExpressionTranslator.cs @@ -1,27 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: LengthExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: LengthExpressionTranslator - Purpose: Translates from a LINQ Method Call Expression with a - Length method to a LengthExpression. - -***************************************************************************************/ - using System.Linq.Expressions; namespace Manatee.Json.Path.Expressions.Translation diff --git a/Manatee.Json/Path/Expressions/Translation/ModuloExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/ModuloExpressionTranslator.cs index ddfa45e..0442aa0 100644 --- a/Manatee.Json/Path/Expressions/Translation/ModuloExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/ModuloExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ModuloExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: ModuloExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with an MODULO - operation to an ModuloExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/MultiplyExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/MultiplyExpressionTranslator.cs index c974e3b..23733cf 100644 --- a/Manatee.Json/Path/Expressions/Translation/MultiplyExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/MultiplyExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MultiplyExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: MultiplyExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with a MULTIPLY - operation to an MultiplyExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/NameExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/NameExpressionTranslator.cs index 5a960fe..8b3b424 100644 --- a/Manatee.Json/Path/Expressions/Translation/NameExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/NameExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NameExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: NameExpressionTranslator - Purpose: Translates from a LINQ Method Call Expression with a - Name method to a NameExpression. - -***************************************************************************************/ using System; using System.Linq; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/NegateExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/NegateExpressionTranslator.cs index 256f1d8..a6d1f0b 100644 --- a/Manatee.Json/Path/Expressions/Translation/NegateExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/NegateExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NegateExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: NegateExpressionTranslator - Purpose: Translates from a LINQ Unary Expression with a NEGATE - operation to an NegateExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/NotExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/NotExpressionTranslator.cs index b0a46e5..be98a7b 100644 --- a/Manatee.Json/Path/Expressions/Translation/NotExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/NotExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NotExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: NotExpressionTranslator - Purpose: Translates from a LINQ Unary Expression with a boolean - inversion operation to an NotExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/NullValueExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/NullValueExpressionTranslator.cs index 4eb65c2..2fb0acb 100644 --- a/Manatee.Json/Path/Expressions/Translation/NullValueExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/NullValueExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NullValueExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: NullValueExpressionTranslator - Purpose: Translates from a LINQ Constant Expression with a null - value to a ValueExpression. - -***************************************************************************************/ using System.Linq.Expressions; namespace Manatee.Json.Path.Expressions.Translation diff --git a/Manatee.Json/Path/Expressions/Translation/NumberValueExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/NumberValueExpressionTranslator.cs index 3819b5f..45396d0 100644 --- a/Manatee.Json/Path/Expressions/Translation/NumberValueExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/NumberValueExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NumberValueExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: NumberValueExpressionTranslator - Purpose: Translates from a LINQ Constant Expression with a numeric - value to a ValueExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/OrExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/OrExpressionTranslator.cs index 39cede4..c46432a 100644 --- a/Manatee.Json/Path/Expressions/Translation/OrExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/OrExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: OrExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: OrExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with a OR - operation to an OrExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/PathExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/PathExpressionTranslator.cs index d7fa17d..c989f16 100644 --- a/Manatee.Json/Path/Expressions/Translation/PathExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/PathExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PathExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: PathExpressionTranslator - Purpose: Base class for expression translators which build a path - within an expression. - -***************************************************************************************/ using System; using System.Linq; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/StringValueExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/StringValueExpressionTranslator.cs index fbf519b..56b4a35 100644 --- a/Manatee.Json/Path/Expressions/Translation/StringValueExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/StringValueExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: StringValueExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: StringValueExpressionTranslator - Purpose: Translates from a LINQ Constant Expression with a string - value to a ValueExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/Translation/SubtractExpressionTranslator.cs b/Manatee.Json/Path/Expressions/Translation/SubtractExpressionTranslator.cs index 5ae4891..f676adb 100644 --- a/Manatee.Json/Path/Expressions/Translation/SubtractExpressionTranslator.cs +++ b/Manatee.Json/Path/Expressions/Translation/SubtractExpressionTranslator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SubtractExpressionTranslator.cs - Namespace: Manatee.Json.Path.Expressions.Translation - Class Name: SubtractExpressionTranslator - Purpose: Translates from a LINQ Binary Expression with a SUBTRACT - operation to an SubtractExpression. - -***************************************************************************************/ using System; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Expressions/ValueComparer.cs b/Manatee.Json/Path/Expressions/ValueComparer.cs index 48c5fff..ec10fcd 100644 --- a/Manatee.Json/Path/Expressions/ValueComparer.cs +++ b/Manatee.Json/Path/Expressions/ValueComparer.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ValueComparer.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: ValueComparer - Purpose: Compares values for JSONPath expressions. - -***************************************************************************************/ using System; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Expressions/ValueExpression.cs b/Manatee.Json/Path/Expressions/ValueExpression.cs index d880e21..8e4f9e0 100644 --- a/Manatee.Json/Path/Expressions/ValueExpression.cs +++ b/Manatee.Json/Path/Expressions/ValueExpression.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ValueExpression.cs - Namespace: Manatee.Json.Path.Expressions - Class Name: ValueExpression - Purpose: Expresses a constant value. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path.Expressions diff --git a/Manatee.Json/Path/IJsonPathArrayQuery.cs b/Manatee.Json/Path/IJsonPathArrayQuery.cs index 8555b76..a06d9e5 100644 --- a/Manatee.Json/Path/IJsonPathArrayQuery.cs +++ b/Manatee.Json/Path/IJsonPathArrayQuery.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonPathArrayQuery.cs - Namespace: Manatee.Json.Path - Class Name: IJsonPathArrayQuery - Purpose: Defines methods required to query an array in a JSON Path. - -***************************************************************************************/ using System.Collections.Generic; namespace Manatee.Json.Path diff --git a/Manatee.Json/Path/IJsonPathOperator.cs b/Manatee.Json/Path/IJsonPathOperator.cs index b537c60..f2c5728 100644 --- a/Manatee.Json/Path/IJsonPathOperator.cs +++ b/Manatee.Json/Path/IJsonPathOperator.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonPathOperator.cs - Namespace: Manatee.Json.Path - Class Name: IJsonPathOperator - Purpose: Defines methods for JSON Path operators. - -***************************************************************************************/ - -namespace Manatee.Json.Path +namespace Manatee.Json.Path { internal interface IJsonPathOperator { diff --git a/Manatee.Json/Path/IJsonPathSearchParameter.cs b/Manatee.Json/Path/IJsonPathSearchParameter.cs index 67df7b9..b646e26 100644 --- a/Manatee.Json/Path/IJsonPathSearchParameter.cs +++ b/Manatee.Json/Path/IJsonPathSearchParameter.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonPathSearchParameter.cs - Namespace: Manatee.Json.Path - Class Name: IJsonPathSearchParameter - Purpose: Defines methods required to perform a search in a JSON Path. - -***************************************************************************************/ using System.Collections.Generic; namespace Manatee.Json.Path diff --git a/Manatee.Json/Path/JsonPath.cs b/Manatee.Json/Path/JsonPath.cs index 6f9fac8..8f985d3 100644 --- a/Manatee.Json/Path/JsonPath.cs +++ b/Manatee.Json/Path/JsonPath.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPath.cs - Namespace: Manatee.Json.Path - Class Name: JsonPath - Purpose: Provides primary functionality for JSON Path objects. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/JsonPathArray.cs b/Manatee.Json/Path/JsonPathArray.cs index 26f1563..9357f57 100644 --- a/Manatee.Json/Path/JsonPathArray.cs +++ b/Manatee.Json/Path/JsonPathArray.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathArray.cs - Namespace: Manatee.Json.Path - Class Name: JsonPathArray - Purpose: Serves as a stand-in for JsonArray in Path Expressions. - -***************************************************************************************/ - -namespace Manatee.Json.Path +namespace Manatee.Json.Path { /// /// Serves as a stand-in for JsonArray in Path Expressions. diff --git a/Manatee.Json/Path/JsonPathRoot.cs b/Manatee.Json/Path/JsonPathRoot.cs index 12128f1..a4adb4b 100644 --- a/Manatee.Json/Path/JsonPathRoot.cs +++ b/Manatee.Json/Path/JsonPathRoot.cs @@ -1,27 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathRoot.cs - Namespace: Manatee.Json.Path - Class Name: JsonPathRoot - Purpose: Provides methods which can be used to reference the path - root within array and search JSON Path queries. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path diff --git a/Manatee.Json/Path/JsonPathSyntaxException.cs b/Manatee.Json/Path/JsonPathSyntaxException.cs index 151b48d..dc60205 100644 --- a/Manatee.Json/Path/JsonPathSyntaxException.cs +++ b/Manatee.Json/Path/JsonPathSyntaxException.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathSyntaxException.cs - Namespace: Manatee.Json - Class Name: JsonPathSyntaxException - Purpose: Thrown when an input string contains a syntax error while - parsing a . - -***************************************************************************************/ - -using System; +using System; using JetBrains.Annotations; namespace Manatee.Json.Path diff --git a/Manatee.Json/Path/JsonPathValue.cs b/Manatee.Json/Path/JsonPathValue.cs index dfaa54e..fa43fae 100644 --- a/Manatee.Json/Path/JsonPathValue.cs +++ b/Manatee.Json/Path/JsonPathValue.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathValue.cs - Namespace: Manatee.Json.Path - Class Name: JsonPathValue - Purpose: Serves as a stand-in for JsonValue in Path Expressions. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Path { diff --git a/Manatee.Json/Path/JsonPathWith.cs b/Manatee.Json/Path/JsonPathWith.cs index 5dc0a99..572e8d4 100644 --- a/Manatee.Json/Path/JsonPathWith.cs +++ b/Manatee.Json/Path/JsonPathWith.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathWith.cs - Namespace: Manatee.Json.Path - Class Name: JsonPathWith - Purpose: Provides methods to be used when working with JSON Paths. - -***************************************************************************************/ using System; using System.Linq; using System.Linq.Expressions; diff --git a/Manatee.Json/Path/Operators/ArrayOperator.cs b/Manatee.Json/Path/Operators/ArrayOperator.cs index bd6c30d..dbf2a8c 100644 --- a/Manatee.Json/Path/Operators/ArrayOperator.cs +++ b/Manatee.Json/Path/Operators/ArrayOperator.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ArrayOperator.cs - Namespace: Manatee.Json.Path.Operators - Class Name: ArrayOperator - Purpose: Indicates that the current value should be an array. - -***************************************************************************************/ using System; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Operators/IndexOfOperator.cs b/Manatee.Json/Path/Operators/IndexOfOperator.cs index c3c46c9..976d613 100644 --- a/Manatee.Json/Path/Operators/IndexOfOperator.cs +++ b/Manatee.Json/Path/Operators/IndexOfOperator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: LengthOperator.cs - Namespace: Manatee.Json.Path.Operators - Class Name: LengthOperator - Purpose: Indicates that the current value should be an array and - returns the number of items. - -***************************************************************************************/ using System; using System.Linq; using Manatee.Json.Path.Expressions; diff --git a/Manatee.Json/Path/Operators/LengthOperator.cs b/Manatee.Json/Path/Operators/LengthOperator.cs index dc3d3ae..5ffa9ae 100644 --- a/Manatee.Json/Path/Operators/LengthOperator.cs +++ b/Manatee.Json/Path/Operators/LengthOperator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: LengthOperator.cs - Namespace: Manatee.Json.Path.Operators - Class Name: LengthOperator - Purpose: Indicates that the current value should be an array and - returns the number of items. - -***************************************************************************************/ using System; using System.Linq; diff --git a/Manatee.Json/Path/Operators/NameOperator.cs b/Manatee.Json/Path/Operators/NameOperator.cs index 1c7ce6a..27c81b4 100644 --- a/Manatee.Json/Path/Operators/NameOperator.cs +++ b/Manatee.Json/Path/Operators/NameOperator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NameOperator.cs - Namespace: Manatee.Json.Path.Operators - Class Name: NameOperator - Purpose: Indicates that the current value should be an object and - a named property should be retrieved. - -***************************************************************************************/ using System; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Operators/SearchOperator.cs b/Manatee.Json/Path/Operators/SearchOperator.cs index 78d92b7..22f55b5 100644 --- a/Manatee.Json/Path/Operators/SearchOperator.cs +++ b/Manatee.Json/Path/Operators/SearchOperator.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SearchOperator.cs - Namespace: Manatee.Json.Path.Operators - Class Name: SearchOperator - Purpose: Indicates that the path should search for a named property. - -***************************************************************************************/ using System; namespace Manatee.Json.Path.Operators diff --git a/Manatee.Json/Path/Operators/WildCardOperator.cs b/Manatee.Json/Path/Operators/WildCardOperator.cs index 2650e50..99866f8 100644 --- a/Manatee.Json/Path/Operators/WildCardOperator.cs +++ b/Manatee.Json/Path/Operators/WildCardOperator.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: WildCardOperator.cs - Namespace: Manatee.Json.Path.Operators - Class Name: WildCardOperator - Purpose: Indicates that the path should return all values at the - current level. - -***************************************************************************************/ using System; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Parsing/ExpressionFilterParser.cs b/Manatee.Json/Path/Parsing/ExpressionFilterParser.cs index aee5a53..536e65f 100644 --- a/Manatee.Json/Path/Parsing/ExpressionFilterParser.cs +++ b/Manatee.Json/Path/Parsing/ExpressionFilterParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExpressionFilterParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: ExpressionFilterParser - Purpose: Parses JSON Path array components with filter expresssions. - -***************************************************************************************/ -using Manatee.Json.Path.ArrayParameters; +using Manatee.Json.Path.ArrayParameters; using Manatee.Json.Path.Expressions; using Manatee.Json.Path.Expressions.Parsing; using Manatee.Json.Path.Operators; diff --git a/Manatee.Json/Path/Parsing/ExpressionIndexParser.cs b/Manatee.Json/Path/Parsing/ExpressionIndexParser.cs index 8327e26..60f4e85 100644 --- a/Manatee.Json/Path/Parsing/ExpressionIndexParser.cs +++ b/Manatee.Json/Path/Parsing/ExpressionIndexParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ExpressionIndexParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: ExpressionIndexParser - Purpose: Parses JSON Path array components with index expresssions. - -***************************************************************************************/ -using Manatee.Json.Path.ArrayParameters; +using Manatee.Json.Path.ArrayParameters; using Manatee.Json.Path.Expressions; using Manatee.Json.Path.Expressions.Parsing; using Manatee.Json.Path.Operators; diff --git a/Manatee.Json/Path/Parsing/IJsonPathParser.cs b/Manatee.Json/Path/Parsing/IJsonPathParser.cs index d34e7e0..ef8d555 100644 --- a/Manatee.Json/Path/Parsing/IJsonPathParser.cs +++ b/Manatee.Json/Path/Parsing/IJsonPathParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonPathParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: IJsonPathParser - Purpose: Defines methods used to parse JSON Path components. - -***************************************************************************************/ -namespace Manatee.Json.Path.Parsing +namespace Manatee.Json.Path.Parsing { internal interface IJsonPathParser { diff --git a/Manatee.Json/Path/Parsing/IndexedArrayParser.cs b/Manatee.Json/Path/Parsing/IndexedArrayParser.cs index 17045bc..ef53884 100644 --- a/Manatee.Json/Path/Parsing/IndexedArrayParser.cs +++ b/Manatee.Json/Path/Parsing/IndexedArrayParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IndexedArrayParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: IndexedArrayParser - Purpose: Parses JSON Path array components with discrete indices. - -***************************************************************************************/ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Parsing/JsonPathParser.cs b/Manatee.Json/Path/Parsing/JsonPathParser.cs index b1f9674..3ad1ee2 100644 --- a/Manatee.Json/Path/Parsing/JsonPathParser.cs +++ b/Manatee.Json/Path/Parsing/JsonPathParser.cs @@ -1,29 +1,6 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonPathParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: JsonPathParser - Purpose: Parses JSON Path. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.Linq; -using System.Reflection; using Manatee.Json.Internal; namespace Manatee.Json.Path.Parsing diff --git a/Manatee.Json/Path/Parsing/PathObjectParser.cs b/Manatee.Json/Path/Parsing/PathObjectParser.cs index c6bd85c..0423b5c 100644 --- a/Manatee.Json/Path/Parsing/PathObjectParser.cs +++ b/Manatee.Json/Path/Parsing/PathObjectParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PathObjectParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: PathObjectParser - Purpose: Parses JSON Path object components. - -***************************************************************************************/ -using Manatee.Json.Internal; +using Manatee.Json.Internal; namespace Manatee.Json.Path.Parsing { diff --git a/Manatee.Json/Path/Parsing/PathParsingExtensions.cs b/Manatee.Json/Path/Parsing/PathParsingExtensions.cs index 2fe6ccc..4ad3e45 100644 --- a/Manatee.Json/Path/Parsing/PathParsingExtensions.cs +++ b/Manatee.Json/Path/Parsing/PathParsingExtensions.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PathParsingExtensions.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: PathParsingExtensions - Purpose: Extension methods used while parsing JSON Path. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Parsing/SearchIndexedArrayParser.cs b/Manatee.Json/Path/Parsing/SearchIndexedArrayParser.cs index 0fc1891..a24811b 100644 --- a/Manatee.Json/Path/Parsing/SearchIndexedArrayParser.cs +++ b/Manatee.Json/Path/Parsing/SearchIndexedArrayParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IndexedArrayParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: IndexedArrayParser - Purpose: Parses JSON Path array components with discrete indices. - -***************************************************************************************/ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Path/Parsing/SearchParser.cs b/Manatee.Json/Path/Parsing/SearchParser.cs index ff28218..94b8b9e 100644 --- a/Manatee.Json/Path/Parsing/SearchParser.cs +++ b/Manatee.Json/Path/Parsing/SearchParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SearchParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: SearchParser - Purpose: Parses JSON Path named and wildcard search components. - -***************************************************************************************/ -using Manatee.Json.Internal; +using Manatee.Json.Internal; namespace Manatee.Json.Path.Parsing { diff --git a/Manatee.Json/Path/Parsing/StartParser.cs b/Manatee.Json/Path/Parsing/StartParser.cs index 831b471..ab3f39d 100644 --- a/Manatee.Json/Path/Parsing/StartParser.cs +++ b/Manatee.Json/Path/Parsing/StartParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: StartParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: StartParser - Purpose: Parses JSON Path start symbols. - -***************************************************************************************/ -namespace Manatee.Json.Path.Parsing +namespace Manatee.Json.Path.Parsing { internal class StartParser : IJsonPathParser { diff --git a/Manatee.Json/Path/Parsing/WildcardArrayParser.cs b/Manatee.Json/Path/Parsing/WildcardArrayParser.cs index b124fc9..1fcaf3c 100644 --- a/Manatee.Json/Path/Parsing/WildcardArrayParser.cs +++ b/Manatee.Json/Path/Parsing/WildcardArrayParser.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: WildcardArrayParser.cs - Namespace: Manatee.Json.Path.Parsing - Class Name: WildcardArrayParser - Purpose: Parses JSON Path array components with wildcard indexers. - -***************************************************************************************/ -namespace Manatee.Json.Path.Parsing +namespace Manatee.Json.Path.Parsing { internal class WildcardArrayParser : IJsonPathParser { diff --git a/Manatee.Json/Path/PathExpressionExtensions.cs b/Manatee.Json/Path/PathExpressionExtensions.cs index 2f8d722..1b3bcac 100644 --- a/Manatee.Json/Path/PathExpressionExtensions.cs +++ b/Manatee.Json/Path/PathExpressionExtensions.cs @@ -1,27 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PathExpressionExtensions.cs - Namespace: Manatee.Json.Path - Class Name: PathExpressionExtensions - Purpose: Provides extension methods which can be used within array - and search JSON Path queries. - -***************************************************************************************/ - using System; namespace Manatee.Json.Path diff --git a/Manatee.Json/Path/SearchParameters/ArraySearchParameter.cs b/Manatee.Json/Path/SearchParameters/ArraySearchParameter.cs index 5be3fa4..3c874ca 100644 --- a/Manatee.Json/Path/SearchParameters/ArraySearchParameter.cs +++ b/Manatee.Json/Path/SearchParameters/ArraySearchParameter.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ArraySearchParameter.cs - Namespace: Manatee.Json.Path.SearchParameters - Class Name: ArraySearchParameter - Purpose: Indicates that a search should look for an array parameter. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Path/SearchParameters/LengthSearchParameter.cs b/Manatee.Json/Path/SearchParameters/LengthSearchParameter.cs index 55cc106..33c05f0 100644 --- a/Manatee.Json/Path/SearchParameters/LengthSearchParameter.cs +++ b/Manatee.Json/Path/SearchParameters/LengthSearchParameter.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: LengthSearchParameter.cs - Namespace: Manatee.Json.Path.SearchParameters - Class Name: LengthSearchParameter - Purpose: Indicates that a search should return the length of all - object and array values. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Path/SearchParameters/NameSearchParameter.cs b/Manatee.Json/Path/SearchParameters/NameSearchParameter.cs index b0980e7..a6e67ef 100644 --- a/Manatee.Json/Path/SearchParameters/NameSearchParameter.cs +++ b/Manatee.Json/Path/SearchParameters/NameSearchParameter.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NameSearchParameter.cs - Namespace: Manatee.Json.Path.SearchParameters - Class Name: NameSearchParameter - Purpose: Indicates that a search should look for a named parameter. - -***************************************************************************************/ using Manatee.Json.Internal; using System; using System.Collections.Generic; diff --git a/Manatee.Json/Path/SearchParameters/WildCardSearchParameter.cs b/Manatee.Json/Path/SearchParameters/WildCardSearchParameter.cs index d80383e..a447192 100644 --- a/Manatee.Json/Path/SearchParameters/WildCardSearchParameter.cs +++ b/Manatee.Json/Path/SearchParameters/WildCardSearchParameter.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: WildCardSearchParameter.cs - Namespace: Manatee.Json.Path.SearchParameters - Class Name: WildCardSearchParameter - Purpose: Indicates that a search should return all values. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Path/Slice.cs b/Manatee.Json/Path/Slice.cs index 1404e0f..ce27123 100644 --- a/Manatee.Json/Path/Slice.cs +++ b/Manatee.Json/Path/Slice.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: Slice.cs - Namespace: Manatee.Json.Path - Class Name: Slice - Purpose: Defines an index in a JSON Path array. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Schema/AdditionalItems.cs b/Manatee.Json/Schema/AdditionalItems.cs index ae5e84c..f089146 100644 --- a/Manatee.Json/Schema/AdditionalItems.cs +++ b/Manatee.Json/Schema/AdditionalItems.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AdditionalItems.cs - Namespace: Manatee.Json.Schema - Class Name: AdditionalItems - Purpose: Defines additional items for array-specific schemas. - -***************************************************************************************/ - -using System; +using System; #if !IOS && !CORE using System.Data; #endif diff --git a/Manatee.Json/Schema/AdditionalProperties.cs b/Manatee.Json/Schema/AdditionalProperties.cs index 0c82fb2..54e5f2b 100644 --- a/Manatee.Json/Schema/AdditionalProperties.cs +++ b/Manatee.Json/Schema/AdditionalProperties.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AdditionalProperties.cs - Namespace: Manatee.Json.Schema - Class Name: AdditionalProperties - Purpose: Defines additional properties for object-specific schemas. - -***************************************************************************************/ - -using System; +using System; #if !IOS && !CORE using System.Data; #endif diff --git a/Manatee.Json/Schema/EnumSchemaValue.cs b/Manatee.Json/Schema/EnumSchemaValue.cs index bbbc7f2..ed62eff 100644 --- a/Manatee.Json/Schema/EnumSchemaValue.cs +++ b/Manatee.Json/Schema/EnumSchemaValue.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: EnumSchemaValue.cs - Namespace: Manatee.Json.Schema - Class Name: EnumSchemaValue - Purpose: Defines a single schema enumeration value. - -***************************************************************************************/ - -using System; +using System; using Manatee.Json.Serialization; namespace Manatee.Json.Schema diff --git a/Manatee.Json/Schema/IJsonSchema.cs b/Manatee.Json/Schema/IJsonSchema.cs index d2d8d00..c0e040b 100644 --- a/Manatee.Json/Schema/IJsonSchema.cs +++ b/Manatee.Json/Schema/IJsonSchema.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonSchema.cs - Namespace: Manatee.Json.Schema - Class Name: IJsonSchema - Purpose: Defines a type for all schema to implement. - -***************************************************************************************/ - -using System; +using System; using Manatee.Json.Serialization; namespace Manatee.Json.Schema diff --git a/Manatee.Json/Schema/IJsonSchemaDependency.cs b/Manatee.Json/Schema/IJsonSchemaDependency.cs index 55dc7fb..59bba84 100644 --- a/Manatee.Json/Schema/IJsonSchemaDependency.cs +++ b/Manatee.Json/Schema/IJsonSchemaDependency.cs @@ -1,29 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonSchemaDependency.cs - Namespace: Manatee.Json.Schema - Class Name: IJsonSchemaDependency - Purpose: Defines properties and methods required to represent dependencies - within JSON Schema. - -***************************************************************************************/ -using Manatee.Json.Serialization; - -namespace Manatee.Json.Schema +namespace Manatee.Json.Schema { /// /// Defines properties and methods required to represent dependencies within JSON Schema. diff --git a/Manatee.Json/Schema/JsonSchema.cs b/Manatee.Json/Schema/JsonSchema.cs index 379d67f..88f7ec6 100644 --- a/Manatee.Json/Schema/JsonSchema.cs +++ b/Manatee.Json/Schema/JsonSchema.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchema.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchema - Purpose: Provides base functionality for the basic ISchema implementations. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/Manatee.Json/Schema/JsonSchemaCollection.cs b/Manatee.Json/Schema/JsonSchemaCollection.cs index 12835e4..6a50ded 100644 --- a/Manatee.Json/Schema/JsonSchemaCollection.cs +++ b/Manatee.Json/Schema/JsonSchemaCollection.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaCollection.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaCollection - Purpose: Represents a collection of schemata. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.Linq; using Manatee.Json.Serialization; diff --git a/Manatee.Json/Schema/JsonSchemaFactory.cs b/Manatee.Json/Schema/JsonSchemaFactory.cs index eb387b0..c1e198e 100644 --- a/Manatee.Json/Schema/JsonSchemaFactory.cs +++ b/Manatee.Json/Schema/JsonSchemaFactory.cs @@ -1,31 +1,6 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaFactory.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaFactory - Purpose: Defines methods to build schema objects. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; -using System.IO; -using System.Linq; -using Manatee.Json.Internal; + namespace Manatee.Json.Schema { /// diff --git a/Manatee.Json/Schema/JsonSchemaMultiTypeDefinition.cs b/Manatee.Json/Schema/JsonSchemaMultiTypeDefinition.cs index 37724f2..f5c32e4 100644 --- a/Manatee.Json/Schema/JsonSchemaMultiTypeDefinition.cs +++ b/Manatee.Json/Schema/JsonSchemaMultiTypeDefinition.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaMultiTypeDefinition.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaMultiTypeDefinition - Purpose: Supports a collection of schema types. - -***************************************************************************************/ - using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Schema/JsonSchemaOptions.cs b/Manatee.Json/Schema/JsonSchemaOptions.cs index c5ce045..3b6f3a3 100644 --- a/Manatee.Json/Schema/JsonSchemaOptions.cs +++ b/Manatee.Json/Schema/JsonSchemaOptions.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaMultiTypeDefinition.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaMultiTypeDefinition - Purpose: Defines options associated with JSON Schema. - -***************************************************************************************/ -using System; +using System; using System.Net; #if IOS || CORE using System.Net.Http; diff --git a/Manatee.Json/Schema/JsonSchemaPropertyDefinition.cs b/Manatee.Json/Schema/JsonSchemaPropertyDefinition.cs index 5867799..68750e8 100644 --- a/Manatee.Json/Schema/JsonSchemaPropertyDefinition.cs +++ b/Manatee.Json/Schema/JsonSchemaPropertyDefinition.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaPropertyDefinition.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaPropertyDefinition - Purpose: Defines a single property within a schema. - -***************************************************************************************/ - -using System; +using System; using System.Linq; using Manatee.Json.Internal; using Manatee.Json.Serialization; diff --git a/Manatee.Json/Schema/JsonSchemaPropertyDefinitionCollection.cs b/Manatee.Json/Schema/JsonSchemaPropertyDefinitionCollection.cs index 48c7805..51c8fdf 100644 --- a/Manatee.Json/Schema/JsonSchemaPropertyDefinitionCollection.cs +++ b/Manatee.Json/Schema/JsonSchemaPropertyDefinitionCollection.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaPropertyDefinitionCollection.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaPropertyDefinitionCollection - Purpose: Defines a collection of properties within a schema. - -***************************************************************************************/ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; namespace Manatee.Json.Schema diff --git a/Manatee.Json/Schema/JsonSchemaReference.cs b/Manatee.Json/Schema/JsonSchemaReference.cs index 9c5e6df..28dd747 100644 --- a/Manatee.Json/Schema/JsonSchemaReference.cs +++ b/Manatee.Json/Schema/JsonSchemaReference.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaReference.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaReference - Purpose: Defines a reference to a schema. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/Manatee.Json/Schema/JsonSchemaRegistry.cs b/Manatee.Json/Schema/JsonSchemaRegistry.cs index fb10e51..8f6e0da 100644 --- a/Manatee.Json/Schema/JsonSchemaRegistry.cs +++ b/Manatee.Json/Schema/JsonSchemaRegistry.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - Modifications Copyright 2017 Michael D. Corbett - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaRegistry.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaRegistry - Purpose: Provides a registry in which JSON schema can be saved to be - referenced by the system. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Schema/JsonSchemaTypeDefinition.cs b/Manatee.Json/Schema/JsonSchemaTypeDefinition.cs index 2b2ce72..d5fb551 100644 --- a/Manatee.Json/Schema/JsonSchemaTypeDefinition.cs +++ b/Manatee.Json/Schema/JsonSchemaTypeDefinition.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaTypeDefinition.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaTypeDefinition - Purpose: Defines a single type definition within a schema. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; #if !IOS && !CORE using System.Data; diff --git a/Manatee.Json/Schema/JsonSchemaTypeDefinitionCollection.cs b/Manatee.Json/Schema/JsonSchemaTypeDefinitionCollection.cs index ae96714..367979a 100644 --- a/Manatee.Json/Schema/JsonSchemaTypeDefinitionCollection.cs +++ b/Manatee.Json/Schema/JsonSchemaTypeDefinitionCollection.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaTypeDefinitionCollection.cs - Namespace: Manatee.Json.Schema - Class Name: JsonSchemaTypeDefinitionCollection - Purpose: Defines a collection of type definitions within a schema. - -***************************************************************************************/ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; namespace Manatee.Json.Schema diff --git a/Manatee.Json/Schema/PropertyDependency.cs b/Manatee.Json/Schema/PropertyDependency.cs index 0109024..db6dc05 100644 --- a/Manatee.Json/Schema/PropertyDependency.cs +++ b/Manatee.Json/Schema/PropertyDependency.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PropertyDependency.cs - Namespace: Manatee.Json.Schema - Class Name: PropertyDependency - Purpose: Declares a dependency that is based on the presence of other - properties in the JSON. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Schema/SchemaDependency.cs b/Manatee.Json/Schema/SchemaDependency.cs index 14b0f1b..036fe71 100644 --- a/Manatee.Json/Schema/SchemaDependency.cs +++ b/Manatee.Json/Schema/SchemaDependency.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SchemaDependency.cs - Namespace: Manatee.Json.Schema - Class Name: SchemaDependency - Purpose: Creates a dependency that is based on a secondary schema. - -***************************************************************************************/ -using System; +using System; using Manatee.Json.Internal; namespace Manatee.Json.Schema diff --git a/Manatee.Json/Schema/SchemaValidationError.cs b/Manatee.Json/Schema/SchemaValidationError.cs index def8fd8..d24940b 100644 --- a/Manatee.Json/Schema/SchemaValidationError.cs +++ b/Manatee.Json/Schema/SchemaValidationError.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SchemaValidationError.cs - Namespace: Manatee.Json.Schema - Class Name: SchemaValidationError - Purpose: Represents a single schema validation error. - -***************************************************************************************/ - -using System; +using System; using Manatee.Json.Internal; namespace Manatee.Json.Schema diff --git a/Manatee.Json/Schema/SchemaValidationResults.cs b/Manatee.Json/Schema/SchemaValidationResults.cs index 9fcbd6c..f84cb96 100644 --- a/Manatee.Json/Schema/SchemaValidationResults.cs +++ b/Manatee.Json/Schema/SchemaValidationResults.cs @@ -1,30 +1,5 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SchemaValidationResults.cs - Namespace: Manatee.Json.Schema - Class Name: SchemaValidationResults - Purpose: Contains the results of schema validation. - -***************************************************************************************/ - -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using Manatee.Json.Internal; namespace Manatee.Json.Schema { diff --git a/Manatee.Json/Schema/StringFormat.cs b/Manatee.Json/Schema/StringFormat.cs index 84c7ead..68f05df 100644 --- a/Manatee.Json/Schema/StringFormat.cs +++ b/Manatee.Json/Schema/StringFormat.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: StringFormat.cs - Namespace: Manatee.Json.Schema - Class Name: StringFormat - Purpose: Defines various string formatting types used for StringSchema - validation. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/Manatee.Json/Schema/Validators/AllOfSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/AllOfSchemaPropertyValidator.cs index 6e1df1b..e56718c 100644 --- a/Manatee.Json/Schema/Validators/AllOfSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/AllOfSchemaPropertyValidator.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AllOfSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: AllOfSchemaPropertyValidator - Purpose: Validates schema with an "allOf" property. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/AnyOfSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/AnyOfSchemaPropertyValidator.cs index 81037a3..b575612 100644 --- a/Manatee.Json/Schema/Validators/AnyOfSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/AnyOfSchemaPropertyValidator.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AnyOfSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: AnyOfSchemaPropertyValidator - Purpose: Validates schema with an "anyOf" property. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/DefinitionsSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/DefinitionsSchemaPropertyValidator.cs index f2aed6e..20dfec5 100644 --- a/Manatee.Json/Schema/Validators/DefinitionsSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/DefinitionsSchemaPropertyValidator.cs @@ -1,29 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DefinitionsSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: DefinitionsSchemaPropertyValidator - Purpose: Validates schema with a "definitions" property. - -***************************************************************************************/ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/DependenciesSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/DependenciesSchemaPropertyValidator.cs index 25770a0..a3ec7f6 100644 --- a/Manatee.Json/Schema/Validators/DependenciesSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/DependenciesSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DependenciesSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: DependenciesSchemaPropertyValidator - Purpose: Validates schemas with a "dependencies" property. - -***************************************************************************************/ -using System.Linq; +using System.Linq; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/EnumSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/EnumSchemaPropertyValidator.cs index 2958de5..650c72b 100644 --- a/Manatee.Json/Schema/Validators/EnumSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/EnumSchemaPropertyValidator.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: EnumSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: EnumSchemaPropertyValidator - Purpose: Validates schema with an "enum" property. - -***************************************************************************************/ - -using System.Linq; +using System.Linq; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/FormatSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/FormatSchemaPropertyValidator.cs index ef8541d..5c0ab3c 100644 --- a/Manatee.Json/Schema/Validators/FormatSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/FormatSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: FormatSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: FormatSchemaPropertyValidator - Purpose: Validates string-typed schema with the "format" keyword. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class FormatSchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/IJsonSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/IJsonSchemaPropertyValidator.cs index 0aed1ec..e213549 100644 --- a/Manatee.Json/Schema/Validators/IJsonSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/IJsonSchemaPropertyValidator.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: IJsonSchemaPropertyValidator - Purpose: Defines functionality required to validate JSON in accordance with - a schema. - -***************************************************************************************/ - -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal interface IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/ItemsSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/ItemsSchemaPropertyValidator.cs index 05fcb1c..0080010 100644 --- a/Manatee.Json/Schema/Validators/ItemsSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/ItemsSchemaPropertyValidator.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ItemsSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: ItemsSchemaPropertyValidator - Purpose: Validates schema with "items" or "additionalItems" properties. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; namespace Manatee.Json.Schema.Validators diff --git a/Manatee.Json/Schema/Validators/JsonSchemaPropertyValidatorFactory.cs b/Manatee.Json/Schema/Validators/JsonSchemaPropertyValidatorFactory.cs index 86f189b..18ffac8 100644 --- a/Manatee.Json/Schema/Validators/JsonSchemaPropertyValidatorFactory.cs +++ b/Manatee.Json/Schema/Validators/JsonSchemaPropertyValidatorFactory.cs @@ -1,29 +1,6 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSchemaPropertyValidatorFactory.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: JsonSchemaPropertyValidatorFactory - Purpose: Provides applicable validators. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.Linq; -using System.Reflection; using Manatee.Json.Internal; namespace Manatee.Json.Schema.Validators diff --git a/Manatee.Json/Schema/Validators/MaxItemsSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MaxItemsSchemaPropertyValidator.cs index c2517d8..ab82650 100644 --- a/Manatee.Json/Schema/Validators/MaxItemsSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MaxItemsSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MaxItemsSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MaxItemsSchemaPropertyValidator - Purpose: Validates schema with a "maxItems" property. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class MaxItemsSchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/MaxLengthSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MaxLengthSchemaPropertyValidator.cs index 5d0efef..7a16f4e 100644 --- a/Manatee.Json/Schema/Validators/MaxLengthSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MaxLengthSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MaxLengthSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MaxLengthSchemaPropertyValidator - Purpose: Validates schema with a "maxLength" property. - -***************************************************************************************/ -using System.Globalization; +using System.Globalization; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/MaxPropertySchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MaxPropertySchemaPropertyValidator.cs index 3f64060..d68a3a9 100644 --- a/Manatee.Json/Schema/Validators/MaxPropertySchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MaxPropertySchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MaxPropertySchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MaxPropertySchemaPropertyValidator - Purpose: Validates schema with a "maxProperties" property. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class MaxPropertySchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/MaximumSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MaximumSchemaPropertyValidator.cs index 906a5f7..63a9bc1 100644 --- a/Manatee.Json/Schema/Validators/MaximumSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MaximumSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MaximumSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MaximumSchemaPropertyValidator - Purpose: Validates schema with "maximum" or "exclusiveMaximum" properties. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class MaximumSchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/MinItemsSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MinItemsSchemaPropertyValidator.cs index 48a3754..070fb62 100644 --- a/Manatee.Json/Schema/Validators/MinItemsSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MinItemsSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MinItemsSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MinItemsSchemaPropertyValidator - Purpose: Validates schema with a "minItems" property. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class MinItemsSchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/MinLengthSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MinLengthSchemaPropertyValidator.cs index 33ee85c..7fbf0c8 100644 --- a/Manatee.Json/Schema/Validators/MinLengthSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MinLengthSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MinLengthSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MinLengthSchemaPropertyValidator - Purpose: Validates schema with a "minLength" property. - -***************************************************************************************/ -using System.Globalization; +using System.Globalization; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/MinPropertiesSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MinPropertiesSchemaPropertyValidator.cs index 5de218a..c79e667 100644 --- a/Manatee.Json/Schema/Validators/MinPropertiesSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MinPropertiesSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MinPropertiesSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MinPropertiesSchemaPropertyValidator - Purpose: Validates schema with a "minProperties" property. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class MinPropertiesSchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/MinimumSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MinimumSchemaPropertyValidator.cs index 878cf3f..fb471f0 100644 --- a/Manatee.Json/Schema/Validators/MinimumSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MinimumSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MinimumSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MinimumSchemaPropertyValidator - Purpose: Validates schema with "minimum" or "exclusiveMinimum" properties. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class MinimumSchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/MultipleOfSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/MultipleOfSchemaPropertyValidator.cs index 598f562..aede343 100644 --- a/Manatee.Json/Schema/Validators/MultipleOfSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/MultipleOfSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MultipleOfSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: MultipleOfSchemaPropertyValidator - Purpose: Validates schemas with a "multipleOf" property. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class MultipleOfSchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/NotSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/NotSchemaPropertyValidator.cs index 36affb7..d41fb1f 100644 --- a/Manatee.Json/Schema/Validators/NotSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/NotSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NotSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: NotSchemaPropertyValidator - Purpose: Validates schemas with a "not" property. - -***************************************************************************************/ -namespace Manatee.Json.Schema.Validators +namespace Manatee.Json.Schema.Validators { internal class NotSchemaPropertyValidator : IJsonSchemaPropertyValidator { diff --git a/Manatee.Json/Schema/Validators/OneOfSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/OneOfSchemaPropertyValidator.cs index eed66da..50cf845 100644 --- a/Manatee.Json/Schema/Validators/OneOfSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/OneOfSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: OneOfSchemaValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: OneOfSchemaValidator - Purpose: Validates schemas with a "oneOf" property. - -***************************************************************************************/ -using System.Linq; +using System.Linq; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/PatternSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/PatternSchemaPropertyValidator.cs index 5e6f8b6..947dfac 100644 --- a/Manatee.Json/Schema/Validators/PatternSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/PatternSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PatternSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: PatternSchemaPropertyValidator - Purpose: Validates string-typed schemas with a "pattern" property. - -***************************************************************************************/ -using System.Text.RegularExpressions; +using System.Text.RegularExpressions; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Schema/Validators/PropertiesSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/PropertiesSchemaPropertyValidator.cs index bbb30e2..6ff98b3 100644 --- a/Manatee.Json/Schema/Validators/PropertiesSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/PropertiesSchemaPropertyValidator.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PropertiesSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: PropertiesSchemaPropertyValidator - Purpose: Validates schemas with "properties", "additionalProperties", - or "patternProperties" properties. - -***************************************************************************************/ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; namespace Manatee.Json.Schema.Validators diff --git a/Manatee.Json/Schema/Validators/TypeSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/TypeSchemaPropertyValidator.cs index c7df406..3b3c63d 100644 --- a/Manatee.Json/Schema/Validators/TypeSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/TypeSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: TypeSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: TypeSchemaPropertyValidator - Purpose: Validates schema with a "type" property. - -***************************************************************************************/ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Manatee.Json.Internal; diff --git a/Manatee.Json/Schema/Validators/UniqueItemsSchemaPropertyValidator.cs b/Manatee.Json/Schema/Validators/UniqueItemsSchemaPropertyValidator.cs index e418d77..3a9a128 100644 --- a/Manatee.Json/Schema/Validators/UniqueItemsSchemaPropertyValidator.cs +++ b/Manatee.Json/Schema/Validators/UniqueItemsSchemaPropertyValidator.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: UniqueItemsSchemaPropertyValidator.cs - Namespace: Manatee.Json.Schema.Validators - Class Name: UniqueItemsSchemaPropertyValidator - Purpose: Validates schema with a "uniqueItems" property. - -***************************************************************************************/ -using System.Linq; +using System.Linq; namespace Manatee.Json.Schema.Validators { diff --git a/Manatee.Json/Serialization/DateTimeSerializationFormat.cs b/Manatee.Json/Serialization/DateTimeSerializationFormat.cs index df1e3ed..06105a0 100644 --- a/Manatee.Json/Serialization/DateTimeSerializationFormat.cs +++ b/Manatee.Json/Serialization/DateTimeSerializationFormat.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DateTimeSerializationFormat.cs - Namespace: Manatee.Json.Serialization - Class Name: DateTimeSerializationFormat - Purpose: Enumeration of available formatting options for serializing - DateTime objects. - -***************************************************************************************/ -namespace Manatee.Json.Serialization +namespace Manatee.Json.Serialization { /// /// Available formatting options for serializing DateTime objects. diff --git a/Manatee.Json/Serialization/EnumSerializationFormat.cs b/Manatee.Json/Serialization/EnumSerializationFormat.cs index 6702e6b..e509b8a 100644 --- a/Manatee.Json/Serialization/EnumSerializationFormat.cs +++ b/Manatee.Json/Serialization/EnumSerializationFormat.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: EnumSerializationFormat.cs - Namespace: Manatee.Json.Serialization - Class Name: EnumSerializationFormat - Purpose: Enumerates serialization formats for enumerations. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization +namespace Manatee.Json.Serialization { /// /// Enumerates serialization formats for enumerations. diff --git a/Manatee.Json/Serialization/IJsonSerializable.cs b/Manatee.Json/Serialization/IJsonSerializable.cs index a5765ae..cb702c9 100644 --- a/Manatee.Json/Serialization/IJsonSerializable.cs +++ b/Manatee.Json/Serialization/IJsonSerializable.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IJsonSerializable.cs - Namespace: Manatee.Json.Serialization - Class Name: IJsonSerializable - Purpose: Provides implementers the option to set a preferred method - for serialization. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization +namespace Manatee.Json.Serialization { /// /// Provides implementers the option to set a preferred method for serialization. diff --git a/Manatee.Json/Serialization/IResolver.cs b/Manatee.Json/Serialization/IResolver.cs index 31bb94a..16deb5b 100644 --- a/Manatee.Json/Serialization/IResolver.cs +++ b/Manatee.Json/Serialization/IResolver.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: IResolver.cs - Namespace: Manatee.Json.Serialization - Class Name: IResolver - Purpose: Defines methods required to resolved instances for - deserialization. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/ArraySerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/ArraySerializationDelegateProvider.cs index 6216dbc..dd60c52 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/ArraySerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/ArraySerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ArraySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: ArraySerializationDelegateProvider - Purpose: Provides delegates for serializing array types. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/DateTimeSerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/DateTimeSerializationDelegateProvider.cs index d509d55..3b9fe12 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/DateTimeSerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/DateTimeSerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DateTimeSerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DateTimeSerializationDelegateProvider - Purpose: Provides delegates for serializing DateTime. - -***************************************************************************************/ using System; using System.Globalization; diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/DictionarySerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/DictionarySerializationDelegateProvider.cs index 2d5ff22..b24744c 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/DictionarySerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/DictionarySerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DictionarySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DictionarySerializationDelegateProvider - Purpose: Provides delegates for serializing Dictionary types. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/GuidSerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/GuidSerializationDelegateProvider.cs index 18b8147..2e98a3b 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/GuidSerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/GuidSerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DictionarySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DictionarySerializationDelegateProvider - Purpose: Provides delegates for serializing GUIDs. - -***************************************************************************************/ using System; namespace Manatee.Json.Serialization.Internal.AutoRegistration diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs index 52bc9c1..7be61a6 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DictionarySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DictionarySerializationDelegateProvider - Purpose: Provides delegates for serializing List types. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/NullableSerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/NullableSerializationDelegateProvider.cs index 7e4f538..1cd3ec2 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/NullableSerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/NullableSerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DictionarySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DictionarySerializationDelegateProvider - Purpose: Provides delegates for serializing Nullable types. - -***************************************************************************************/ using System; using Manatee.Json.Internal; diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/QueueSerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/QueueSerializationDelegateProvider.cs index 573f6e3..18ca92a 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/QueueSerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/QueueSerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DictionarySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DictionarySerializationDelegateProvider - Purpose: Provides delegates for serializing Queue types. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/SerializationDelegateProviderBase.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/SerializationDelegateProviderBase.cs index 72319bf..7903e33 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/SerializationDelegateProviderBase.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/SerializationDelegateProviderBase.cs @@ -1,26 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DictionarySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DictionarySerializationDelegateProvider - Purpose: Provides a base implementation for ISerializationDelegateProvider. - -***************************************************************************************/ -using System; +using System; using System.Reflection; using Manatee.Json.Internal; diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/StackSerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/StackSerializationDelegateProvider.cs index 0a13038..dfabab3 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/StackSerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/StackSerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DictionarySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DictionarySerializationDelegateProvider - Purpose: Provides delegates for serializing Stack types. - -***************************************************************************************/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Serialization/Internal/AutoRegistration/TimeSpanSerializationDelegateProvider.cs b/Manatee.Json/Serialization/Internal/AutoRegistration/TimeSpanSerializationDelegateProvider.cs index d278a3f..158df07 100644 --- a/Manatee.Json/Serialization/Internal/AutoRegistration/TimeSpanSerializationDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/AutoRegistration/TimeSpanSerializationDelegateProvider.cs @@ -1,25 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DictionarySerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal.AutoRegistration - Class Name: DictionarySerializationDelegateProvider - Purpose: Provides delegates for serializing TimeSpan. - -***************************************************************************************/ using System; namespace Manatee.Json.Serialization.Internal.AutoRegistration diff --git a/Manatee.Json/Serialization/Internal/Constants.cs b/Manatee.Json/Serialization/Internal/Constants.cs index cf80e71..5ecd51c 100644 --- a/Manatee.Json/Serialization/Internal/Constants.cs +++ b/Manatee.Json/Serialization/Internal/Constants.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: Constants.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: Constants - Purpose: Defines several constants used throughout the library. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization.Internal +namespace Manatee.Json.Serialization.Internal { internal static class Constants { diff --git a/Manatee.Json/Serialization/Internal/ConstructorResolver.cs b/Manatee.Json/Serialization/Internal/ConstructorResolver.cs index b0a431e..d9b3ab6 100644 --- a/Manatee.Json/Serialization/Internal/ConstructorResolver.cs +++ b/Manatee.Json/Serialization/Internal/ConstructorResolver.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ConstructorResolver.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: ConstructorResolver - Purpose: Implements IResolver using the Activator. - -***************************************************************************************/ - -using System; +using System; using System.Linq; using System.Reflection; using Manatee.Json.Internal; diff --git a/Manatee.Json/Serialization/Internal/FieldReference.cs b/Manatee.Json/Serialization/Internal/FieldReference.cs index a579695..6db5435 100644 --- a/Manatee.Json/Serialization/Internal/FieldReference.cs +++ b/Manatee.Json/Serialization/Internal/FieldReference.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: FieldReference.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: FieldReference - Purpose: Defines a field on an object for the purpose of cataloging - references. - -***************************************************************************************/ -using System.Reflection; +using System.Reflection; namespace Manatee.Json.Serialization.Internal { diff --git a/Manatee.Json/Serialization/Internal/ISerializer.cs b/Manatee.Json/Serialization/Internal/ISerializer.cs index 407b9da..52b214e 100644 --- a/Manatee.Json/Serialization/Internal/ISerializer.cs +++ b/Manatee.Json/Serialization/Internal/ISerializer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ISerializer.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: ISerializer - Purpose: Defines methods to convert between objects and JsonValues. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization.Internal +namespace Manatee.Json.Serialization.Internal { internal interface ISerializer { diff --git a/Manatee.Json/Serialization/Internal/ISerializerDelegateProvider.cs b/Manatee.Json/Serialization/Internal/ISerializerDelegateProvider.cs index 08e9d8b..ac6292e 100644 --- a/Manatee.Json/Serialization/Internal/ISerializerDelegateProvider.cs +++ b/Manatee.Json/Serialization/Internal/ISerializerDelegateProvider.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ISerializationDelegateProvider.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: ISerializationDelegateProvider - Purpose: Defines methods required to provide registration methods - to the JsonSerializerTypeRegistry class. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization.Internal { diff --git a/Manatee.Json/Serialization/Internal/ITypeSerializer.cs b/Manatee.Json/Serialization/Internal/ITypeSerializer.cs index d72679f..e542089 100644 --- a/Manatee.Json/Serialization/Internal/ITypeSerializer.cs +++ b/Manatee.Json/Serialization/Internal/ITypeSerializer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ITypeSerializer.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: ITypeSerializer - Purpose: Defines methods to convert between types and JsonValues. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization.Internal +namespace Manatee.Json.Serialization.Internal { internal interface ITypeSerializer { diff --git a/Manatee.Json/Serialization/Internal/MemberReference.cs b/Manatee.Json/Serialization/Internal/MemberReference.cs index f2942d9..cfc8969 100644 --- a/Manatee.Json/Serialization/Internal/MemberReference.cs +++ b/Manatee.Json/Serialization/Internal/MemberReference.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MemberReference.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: MemberReference - Purpose: Base classes for defining a field or property on an object - for the purpose of cataloging references. - -***************************************************************************************/ -using System.Reflection; +using System.Reflection; namespace Manatee.Json.Serialization.Internal { diff --git a/Manatee.Json/Serialization/Internal/PropertyReference.cs b/Manatee.Json/Serialization/Internal/PropertyReference.cs index 1e04302..e99b0ce 100644 --- a/Manatee.Json/Serialization/Internal/PropertyReference.cs +++ b/Manatee.Json/Serialization/Internal/PropertyReference.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PropertyReference.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: PropertyReference - Purpose: Defines a property on an object for the purpose of cataloging - references. - -***************************************************************************************/ - -using System.Reflection; +using System.Reflection; namespace Manatee.Json.Serialization.Internal { diff --git a/Manatee.Json/Serialization/Internal/SerializationPair.cs b/Manatee.Json/Serialization/Internal/SerializationPair.cs index 07db9a9..ab263d8 100644 --- a/Manatee.Json/Serialization/Internal/SerializationPair.cs +++ b/Manatee.Json/Serialization/Internal/SerializationPair.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SerializationPair.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: SerializationPair - Purpose: Defines an equivalence between an object and its representative - JSON. - -***************************************************************************************/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Reflection; namespace Manatee.Json.Serialization.Internal diff --git a/Manatee.Json/Serialization/Internal/SerializationPairCache.cs b/Manatee.Json/Serialization/Internal/SerializationPairCache.cs index 3dbac5c..4419ce4 100644 --- a/Manatee.Json/Serialization/Internal/SerializationPairCache.cs +++ b/Manatee.Json/Serialization/Internal/SerializationPairCache.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SerializationPairCache.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: SerializationPairCache - Purpose: Manages pairs of objects and their respective JSON. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Manatee.Json/Serialization/Internal/SerializerCache.cs b/Manatee.Json/Serialization/Internal/SerializerCache.cs index ddcdb1e..3a50ed4 100644 --- a/Manatee.Json/Serialization/Internal/SerializerCache.cs +++ b/Manatee.Json/Serialization/Internal/SerializerCache.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SerializerCache.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: SerializerCache - Purpose: Maintains a cache of JsonSerializers methods organized by type. - -***************************************************************************************/ - -using System; +using System; #if !NET35 && !IOS using Dictionary = System.Collections.Concurrent.ConcurrentDictionary; #else diff --git a/Manatee.Json/Serialization/Internal/SerializerFactory.cs b/Manatee.Json/Serialization/Internal/SerializerFactory.cs index 2b2e9a8..897561d 100644 --- a/Manatee.Json/Serialization/Internal/SerializerFactory.cs +++ b/Manatee.Json/Serialization/Internal/SerializerFactory.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SerializerFactory.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: SerializerFactory - Purpose: Manages ISerializer implementations for use by the JsonSerializer. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using Manatee.Json.Internal; using Manatee.Json.Schema; diff --git a/Manatee.Json/Serialization/Internal/SerializerMethodPair.cs b/Manatee.Json/Serialization/Internal/SerializerMethodPair.cs index a06df67..0e87a04 100644 --- a/Manatee.Json/Serialization/Internal/SerializerMethodPair.cs +++ b/Manatee.Json/Serialization/Internal/SerializerMethodPair.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SerializerMethodPair.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: SerializerMethodPair - Purpose: Represents a typed pair of JsonSerializer methods. - -***************************************************************************************/ - -using System; +using System; using System.Reflection; using Manatee.Json.Internal; diff --git a/Manatee.Json/Serialization/Internal/Serializers/AutoSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/AutoSerializer.cs index 8b60c51..872754b 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/AutoSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/AutoSerializer.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: AutoSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: AutoSerializer - Purpose: Converts objects to and from JsonValues based on available - properties. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/Manatee.Json/Serialization/Internal/Serializers/BooleanSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/BooleanSerializer.cs index fcb84c2..e701df6 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/BooleanSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/BooleanSerializer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: BooleanSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: BooleanSerializer - Purpose: Converts booleans to and from JsonValues. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization.Internal.Serializers +namespace Manatee.Json.Serialization.Internal.Serializers { internal class BooleanSerializer : ISerializer { diff --git a/Manatee.Json/Serialization/Internal/Serializers/DefaultValueSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/DefaultValueSerializer.cs index 32dfd6f..e881bd1 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/DefaultValueSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/DefaultValueSerializer.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: DefaultValueSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: DefaultValueSerializer - Purpose: Shortcuts serialization and returns JsonValue.Null if the - object equals the default value for its type. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization.Internal.Serializers +namespace Manatee.Json.Serialization.Internal.Serializers { internal class DefaultValueSerializer : ISerializer { diff --git a/Manatee.Json/Serialization/Internal/Serializers/EnumNameSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/EnumNameSerializer.cs index c19e23a..0cdc76a 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/EnumNameSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/EnumNameSerializer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: EnumNameSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: EnumNameSerializer - Purpose: Converts enumerations to and from JsonValues by name. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/Manatee.Json/Serialization/Internal/Serializers/EnumValueSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/EnumValueSerializer.cs index 691f6f9..64cfc47 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/EnumValueSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/EnumValueSerializer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: EnumValueSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: EnumValueSerializer - Purpose: Converts enumerations to and from JsonValues by integral value. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization.Internal.Serializers { diff --git a/Manatee.Json/Serialization/Internal/Serializers/JsonSerializableSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/JsonSerializableSerializer.cs index ffdf3f5..5567410 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/JsonSerializableSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/JsonSerializableSerializer.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSerializableSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: JsonSerializableSerializer - Purpose: Converts objects which implement IJsonSerializable to and from - JsonValues. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization.Internal.Serializers +namespace Manatee.Json.Serialization.Internal.Serializers { internal class JsonSerializableSerializer : ISerializer { diff --git a/Manatee.Json/Serialization/Internal/Serializers/NumericSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/NumericSerializer.cs index 941e1ca..e3f7877 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/NumericSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/NumericSerializer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: NumericSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: NumericSerializer - Purpose: Converts numeric types to and from JsonValues. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization.Internal.Serializers { diff --git a/Manatee.Json/Serialization/Internal/Serializers/ReferencingSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/ReferencingSerializer.cs index 1286c24..dfbba42 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/ReferencingSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/ReferencingSerializer.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ReferencingSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: ReferencingSerializer - Purpose: Tracks references to objects so that they are not serialized - more than once. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization.Internal.Serializers { diff --git a/Manatee.Json/Serialization/Internal/Serializers/ReflectionCache.cs b/Manatee.Json/Serialization/Internal/Serializers/ReflectionCache.cs index 70705d2..5ea2df2 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/ReflectionCache.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/ReflectionCache.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: ReflectionCache.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: ReflectionCache - Purpose: Maintains reflection results. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/Manatee.Json/Serialization/Internal/Serializers/RegisteredObjectSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/RegisteredObjectSerializer.cs index 326d8ba..59aa116 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/RegisteredObjectSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/RegisteredObjectSerializer.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: RegisteredObjectSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: RegisteredObjectSerializer - Purpose: Converts an object whose type has registered serialize methods - to and from JsonValues. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization.Internal.Serializers +namespace Manatee.Json.Serialization.Internal.Serializers { internal class RegisteredObjectSerializer : ISerializer { diff --git a/Manatee.Json/Serialization/Internal/Serializers/SchemaSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/SchemaSerializer.cs index bbedc25..f1f3d7a 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/SchemaSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/SchemaSerializer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SchemaSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: SchemaSerializer - Purpose: Converts ISchema implementations to and from JsonValues. - -***************************************************************************************/ - -using Manatee.Json.Schema; +using Manatee.Json.Schema; namespace Manatee.Json.Serialization.Internal.Serializers { diff --git a/Manatee.Json/Serialization/Internal/Serializers/SerializationInfo.cs b/Manatee.Json/Serialization/Internal/Serializers/SerializationInfo.cs index e0aeca2..f5d9472 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/SerializationInfo.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/SerializationInfo.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: SerializationInfo.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: SerializationInfo - Purpose: Caches reflection-based serialization information. - -***************************************************************************************/ - using System.Reflection; namespace Manatee.Json.Serialization.Internal.Serializers diff --git a/Manatee.Json/Serialization/Internal/Serializers/StringSerializer.cs b/Manatee.Json/Serialization/Internal/Serializers/StringSerializer.cs index be85c9c..dd22a3f 100644 --- a/Manatee.Json/Serialization/Internal/Serializers/StringSerializer.cs +++ b/Manatee.Json/Serialization/Internal/Serializers/StringSerializer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: StringSerializer.cs - Namespace: Manatee.Json.Serialization.Internal.Serializers - Class Name: StringSerializer - Purpose: Converts strings to and from JsonValues. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization.Internal.Serializers +namespace Manatee.Json.Serialization.Internal.Serializers { internal class StringSerializer : ISerializer { diff --git a/Manatee.Json/Serialization/Internal/TemplateGenerator.cs b/Manatee.Json/Serialization/Internal/TemplateGenerator.cs index b07154c..38705c0 100644 --- a/Manatee.Json/Serialization/Internal/TemplateGenerator.cs +++ b/Manatee.Json/Serialization/Internal/TemplateGenerator.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: TemplateGenerator.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: TemplateGenerator - Purpose: Creates JSON templates to represent types. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/Manatee.Json/Serialization/Internal/TypeGenerator.cs b/Manatee.Json/Serialization/Internal/TypeGenerator.cs index 8b3971c..c2af5a9 100644 --- a/Manatee.Json/Serialization/Internal/TypeGenerator.cs +++ b/Manatee.Json/Serialization/Internal/TypeGenerator.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: TypeGenerator.cs - Namespace: Manatee.Json.Serialization.Internal - Class Name: TypeGenerator - Purpose: Generates types at run-time which implement a given interface. - -***************************************************************************************/ - -#if !IOS && !CORE +#if !IOS && !CORE using System; using System.Collections.Generic; diff --git a/Manatee.Json/Serialization/InvalidPropertyKeyBehavior.cs b/Manatee.Json/Serialization/InvalidPropertyKeyBehavior.cs index 3d4f075..132416b 100644 --- a/Manatee.Json/Serialization/InvalidPropertyKeyBehavior.cs +++ b/Manatee.Json/Serialization/InvalidPropertyKeyBehavior.cs @@ -1,26 +1,3 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: InvalidPropertyKeyBehavior.cs - Namespace: Manatee.Json.Serialization - Class Name: InvalidPropertyKeyBehavior - Purpose: Enumeration of behavior options for the deserializer when a - JSON structure is passed which contains invalid property keys. - -***************************************************************************************/ namespace Manatee.Json.Serialization { /// diff --git a/Manatee.Json/Serialization/JsonIgnoreAttribute.cs b/Manatee.Json/Serialization/JsonIgnoreAttribute.cs index c8b2b83..ed44d26 100644 --- a/Manatee.Json/Serialization/JsonIgnoreAttribute.cs +++ b/Manatee.Json/Serialization/JsonIgnoreAttribute.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonIgnoreAttribute.cs - Namespace: Manatee.Json.Serialization - Class Name: JsonIgnoreAttribute - Purpose: Applied to properties to indicate that they are not to be - serialized. - -***************************************************************************************/ -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/JsonMapToAttribute.cs b/Manatee.Json/Serialization/JsonMapToAttribute.cs index fda9314..6c2ffe9 100644 --- a/Manatee.Json/Serialization/JsonMapToAttribute.cs +++ b/Manatee.Json/Serialization/JsonMapToAttribute.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonMapToAttribute.cs - Namespace: Manatee.Json.Serialization - Class Name: JsonMapToAttribute - Purpose: Applied to properties to customize how they are to be - serialized. - -***************************************************************************************/ -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/JsonSerializationAbstractionMap.cs b/Manatee.Json/Serialization/JsonSerializationAbstractionMap.cs index cce1000..cee64c1 100644 --- a/Manatee.Json/Serialization/JsonSerializationAbstractionMap.cs +++ b/Manatee.Json/Serialization/JsonSerializationAbstractionMap.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSerializationAbstractionMap.cs - Namespace: Manatee.Json.Serialization - Class Name: JsonSerializationAbstractionMap - Purpose: Maps interfaces and abstract classes to concrete classes and - in order to provide instances during instantia. - -***************************************************************************************/ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/Manatee.Json/Serialization/JsonSerializationException.cs b/Manatee.Json/Serialization/JsonSerializationException.cs index 31aa26b..ca2655b 100644 --- a/Manatee.Json/Serialization/JsonSerializationException.cs +++ b/Manatee.Json/Serialization/JsonSerializationException.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSerializationException.cs - Namespace: Manatee.Json.Serialization - Class Name: JsonSerializationException - Purpose: Thrown when an error occurs during serialization or deserialization. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/JsonSerializationTypeRegistry.cs b/Manatee.Json/Serialization/JsonSerializationTypeRegistry.cs index e5e2a16..566864a 100644 --- a/Manatee.Json/Serialization/JsonSerializationTypeRegistry.cs +++ b/Manatee.Json/Serialization/JsonSerializationTypeRegistry.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSerializationTypeRegistry.cs - Namespace: Manatee.Json.Serialization - Class Name: JsonSerializationTypeRegistry - Purpose: Manages methods for serializing object types which do not - implement IJsonCompatible and cannot be automatically serialized. - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/Manatee.Json/Serialization/JsonSerializer.cs b/Manatee.Json/Serialization/JsonSerializer.cs index 8c220a2..970cdaf 100644 --- a/Manatee.Json/Serialization/JsonSerializer.cs +++ b/Manatee.Json/Serialization/JsonSerializer.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSerializer.cs - Namespace: Manatee.Json.Serialization - Class Name: JsonSerializer - Purpose: Serializes and deserializes objects and types to and from - JSON structures. - -***************************************************************************************/ - -using Manatee.Json.Serialization.Internal; +using Manatee.Json.Serialization.Internal; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/JsonSerializerOptions.cs b/Manatee.Json/Serialization/JsonSerializerOptions.cs index b915bd0..4541317 100644 --- a/Manatee.Json/Serialization/JsonSerializerOptions.cs +++ b/Manatee.Json/Serialization/JsonSerializerOptions.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonSerializerOptions.cs - Namespace: Manatee.Json.Serialization - Class Name: JsonSerializerOptions - Purpose: Default options used by the serializer. - -***************************************************************************************/ - -using System; +using System; using Manatee.Json.Serialization.Internal; namespace Manatee.Json.Serialization diff --git a/Manatee.Json/Serialization/JsonTypeMapException.cs b/Manatee.Json/Serialization/JsonTypeMapException.cs index 72c99ba..ea28f6c 100644 --- a/Manatee.Json/Serialization/JsonTypeMapException.cs +++ b/Manatee.Json/Serialization/JsonTypeMapException.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonTypeMapException.cs - Namespace: Manatee.Json.Serialization - Class Name: JsonTypeMapException - Purpose: Thrown when an abstract or interface type is mapped to another - abstract or interface type. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/MapBaseAbstractionBehavior.cs b/Manatee.Json/Serialization/MapBaseAbstractionBehavior.cs index 2617c51..39586b4 100644 --- a/Manatee.Json/Serialization/MapBaseAbstractionBehavior.cs +++ b/Manatee.Json/Serialization/MapBaseAbstractionBehavior.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: MapBaseAbstractionBehavior.cs - Namespace: Manatee.Json.Serialization - Class Name: MapBaseAbstractionBehavior - Purpose: Describes mapping behaviors for mapping abstraction types - in the serializer. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization +namespace Manatee.Json.Serialization { /// /// Describes mapping behaviors for mapping abstraction types in the serializer. diff --git a/Manatee.Json/Serialization/PropertySelectionStrategy.cs b/Manatee.Json/Serialization/PropertySelectionStrategy.cs index 93b3325..35b548f 100644 --- a/Manatee.Json/Serialization/PropertySelectionStrategy.cs +++ b/Manatee.Json/Serialization/PropertySelectionStrategy.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: PropertySelectionStrategy.cs - Namespace: Manatee.Json.Serialization - Class Name: PropertySelectionStrategy - Purpose: Enumerates the types of properties which are automatically - serialized. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/TypeDoesNotContainPropertyException.cs b/Manatee.Json/Serialization/TypeDoesNotContainPropertyException.cs index a75d415..866b468 100644 --- a/Manatee.Json/Serialization/TypeDoesNotContainPropertyException.cs +++ b/Manatee.Json/Serialization/TypeDoesNotContainPropertyException.cs @@ -1,29 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: TypeDoesNotContainPropertyException.cs - Namespace: Manatee.Json.Serialization - Class Name: TypeDoesNotContainPropertyException - Purpose: Optionally thrown when deserializing and the JSON structure - contains property names which are not valid for the type - requested. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/TypeInstantiationException.cs b/Manatee.Json/Serialization/TypeInstantiationException.cs index bde7ef4..9791be5 100644 --- a/Manatee.Json/Serialization/TypeInstantiationException.cs +++ b/Manatee.Json/Serialization/TypeInstantiationException.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: TypeInstantiationException.cs - Namespace: Manatee.Json.Serialization - Class Name: TypeInstantiationException - Purpose: Thrown when a type cannot be instantiated. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Serialization/TypeNameSerializationBehavior.cs b/Manatee.Json/Serialization/TypeNameSerializationBehavior.cs index fe1361f..f3f1ed8 100644 --- a/Manatee.Json/Serialization/TypeNameSerializationBehavior.cs +++ b/Manatee.Json/Serialization/TypeNameSerializationBehavior.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: TypeNameSerializationBehavior.cs - Namespace: Manatee.Json.Serialization - Class Name: TypeNameSerializationBehavior - Purpose: Enumerates serialization behaviors for saving type names. - -***************************************************************************************/ - -namespace Manatee.Json.Serialization +namespace Manatee.Json.Serialization { /// /// Enumerates serialization behaviors for saving type names. diff --git a/Manatee.Json/Serialization/TypeRegistrationException.cs b/Manatee.Json/Serialization/TypeRegistrationException.cs index 763ff1e..e533ef3 100644 --- a/Manatee.Json/Serialization/TypeRegistrationException.cs +++ b/Manatee.Json/Serialization/TypeRegistrationException.cs @@ -1,28 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: TypeRegistrationException.cs - Namespace: Manatee.Json.Serialization - Class Name: TypeRegistrationException - Purpose: Thrown when incorrectly attempting to register a type for the - serializer. - -***************************************************************************************/ - -using System; +using System; namespace Manatee.Json.Serialization { diff --git a/Manatee.Json/Transform/JsonTransformer.cs b/Manatee.Json/Transform/JsonTransformer.cs index 1f9df10..e493b52 100644 --- a/Manatee.Json/Transform/JsonTransformer.cs +++ b/Manatee.Json/Transform/JsonTransformer.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: JsonTransformer.cs - Namespace: Manatee.Json.Transform - Class Name: JsonTransformer - Purpose: Performs transformations between JSON schemas. - -***************************************************************************************/ - -using System; +using System; using System.Linq; using Manatee.Json.Internal; using Manatee.Json.Path; diff --git a/Manatee.Json/UriExtensions.cs b/Manatee.Json/UriExtensions.cs index 2e92448..0947c0a 100644 --- a/Manatee.Json/UriExtensions.cs +++ b/Manatee.Json/UriExtensions.cs @@ -1,33 +1,8 @@ -/*************************************************************************************** - -Source: https://github.com/WebDAVSharp/WebDAVSharp.Server/blob/1d2086a502937936ebc6bfe19cfa15d855be1c31/WebDAVExtensions.cs - -The MIT License (MIT) - -Copyright (c) 2014 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -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 OR COPYRIGHT HOLDERS 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. -*/ -using System; +using System; namespace Manatee.Json { + // Source: https://github.com/WebDAVSharp/WebDAVSharp.Server/blob/1d2086a502937936ebc6bfe19cfa15d855be1c31/WebDAVExtensions.cs internal static class UriExtensions { /// diff --git a/Manatee.Json/XmlExtensions.cs b/Manatee.Json/XmlExtensions.cs index a8ed3aa..84a5504 100644 --- a/Manatee.Json/XmlExtensions.cs +++ b/Manatee.Json/XmlExtensions.cs @@ -1,27 +1,4 @@ -/*************************************************************************************** - - Copyright 2016 Greg Dennis - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - File Name: XmlExtentions.cs - Namespace: Manatee.Json - Class Name: XmlExtensions - Purpose: XML conversions for Manatee.Json - -***************************************************************************************/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Xml; diff --git a/Manatee.Json/project.nuspec b/Manatee.Json/project.nuspec index c79c5a1..ceea14e 100644 --- a/Manatee.Json/project.nuspec +++ b/Manatee.Json/project.nuspec @@ -9,7 +9,7 @@ gregsdennis Copyright © 2016 Little Crab Solutions https://www.github.com/gregsdennis/manatee.json - http://www.apache.org/licenses/LICENSE-2.0.html + https://github.com/gregsdennis/Manatee.Json/blob/master/LICENSE.txt https://bytebucket.org/gregsdennis/manatee.json/wiki/Resources/Manatee-Json-Logo.png v6.0.0