* Removing the Manual reference file from System.Text.Json
* Readd the netcoreapp and uap configurations so that we don't have to bring AsyncInterfaces package into the shared framework closure
* Revert param name change as per PR Feedback
Commit migrated from https://github.com/dotnet/corefx/commit/5b3d41c1c63c4ebd93af7e6482e954e104827884
* Add an in-box array-backed IBufferWriter<T>
* Update Utf8JsonWriter ref and main writer file.
* Fix JsonWriter WriteValue APIs.
* Use Environment.NewLine static and invert some stream conditions.
* Update JsonWriter properties and fix serializer build breaks.
* Update JsonWriter unit tests.
* Add xml comments, clean up, and improve test coverage.
* Update JsonDocument and JsonSerializer to react to JsonWriter changes.
* Normalize the reference assembly.
* Do not escape/validate comments and update issue number.
* Do not escape comments and validate they don't contain embedded
delimiter
* Remove dead code and update issue number in comments.
* Throw InvalidOEx instead of ArgEx if IBW doesn't give requested memory.
* Fix test build breaks for netfx.
* Remove dead code and fix source packaging.
* Address PR feedback.
* Disable writing floats test on windows
* 8 digit floats don't work well on older TFMs. Reduce to 7.
Commit migrated from https://github.com/dotnet/corefx/commit/1f9b84a0804e868c7e0f37a3c10fbaf7c735ae14
* Test changes necessary to build S.T.Json sources targetting netstandard
* Revert unnecessary change from private to internal.
* Revert props and csproj changes to support netstandard along with test
changes.
* Address PR feedback.
* Revert "Revert props and csproj changes to support netstandard along with test"
This reverts commit dotnet/corefx@7a2f22e127.
* Fix code formatting/spacing.
* Invert the ifdef so it is false by default (for source package) and add
comments.
Commit migrated from https://github.com/dotnet/corefx/commit/36893daefdc114306efe86eca4170836bc02ff68
* Initial check-in for System.Text.Json library and solution
* Auto-generate the reference assembly
* Provide an overview README and roadmap
* Change the solution GUID to be unique
* Fix package description nit
* Change to MIT license instead of GPL
* Fix file extension of images to png
* Address PR feedback and only support netcoreapp
* Fix the configuration props and project files
* Add comments to the JsonTokenType enum
* Add an internal class for commonly used constants when reading JSON.
* Add a comment handling enum for lenient JSON reading
* Add a JsonReaderOptions struct to provide extensible customization of
JsonReader behaviour
* Add a JsonReaderException class which is thrown when we see an invalid
JSON text
* Add the skeleton for the JsonUtf8Reader ref struct and add files to
csproj
* Add JsonReaderState, ThrowHelper, and Strings resource file
* Address PR feedback, remove OS-specific configurations
* Complete the implementation of core JsonReader APIs for reading spans
* Update the reference assembly by auto-generating it
* Add unit tests and TryGet APIs
* Add XML comments to describe the JsonUtf8Reader at a high level
* Fix config and csproj to reference S.R.CS.U from Corelib
* Rename type from JsonUtf8Reader to Utf8JsonReader
* Remove remnants of ReadOnlySequeunce related fields/properties
* Add the remaining TryGetValueAsX APIs
* Change JsonReaderState ctor to accept JsonReaderOptions instead
* Seal the JsonReaderException class
* Rename LineBytePosition to BytePositionInLine
* Fix typo in ArrayEndWithinObject exception message
* Capitalize the acronym JSON within exception messages.
* Override GetObjectData and add a private deserialization ctor on
JsonReaderException
* Be explicit with lessThan in the IndexOfAny call site
* Only use ulong when Options isn't AllowComments to align stack usage
* Rename IndexOfAny helper to IndexOfOrLessThan
* Remove stray comment and fix xml comment for BytesConsumed
* Braces everywhere
* Rename localCopy to localBuffer to tie it to _buffer
* Add IsDigit and IsHexDigit helper methods
* Rename Solidus to Slash, ReverseSolidus to BackSlash, and Use Asterisk constant
* Use static encoder and avoid unnecessary allocation.
* Combine multiple TryParse calls that only differ by standardFormat
* Use SR.Format instead of string.Format and add debug.fail for default
case
* Make the exception as serializable and add test to BinaryFormatterTestData
* Fix exception messages, avoid printing control characters, and remove
unnecessary else.
* Make sure all exception messages are consistent and that they make sense
in context.
* Fix and add new comments, rename internal enum values, and remove
JsonLab
* Throw InvalidCastException from TryGetAsX if token type doesn't match
* Resolve TODOs, add issues, fix search for end of string, and remove recursive calls + add more tests.
* Use Unicode escape sequences for non-ASCII characters in tests.
* Add more tests related to skipping and consuming comments.
* Allocate the stack lazily, only when depth actually surpasses 64.
* Add a netcoreapp config to
System.Runtime.Serialization.Formatters.Tests.csproj
* Remove unnecessary DefineConstants property in test csproj
* Use Invariant Culture where necessary to avoid tests failing on es-ES
machines
* Fix up nits in the exception messages
* Add an IsTokenTypePrimitive helper method and fix comment spelling
* Use helper, use while(true) instead of goto, and change TryGet methods
to throw InvalidOperationException
* Shorten CommentHandling enum values and rename Default to Disallow
* Fix "is the stack empty" check in EndObject/EndArray
* Add previous token type to state and update it when token type is not a
comment
* Include comment delimiters as part of comment token, fix Debug.Assert
and tests.
* Add helper to avoid code duplication
* Add temporary workaround for Utf8 double parsing issue
Commit migrated from https://github.com/dotnet/corefx/commit/43759525e9a01fb9caedc0fb2281db5c65a16f65
* Initial check-in for System.Text.Json library and solution
* Auto-generate the reference assembly
* Provide an overview README and roadmap
* Change the solution GUID to be unique
* Fix package description nit
* Change to MIT license instead of GPL
* Fix file extension of images to png
* Address PR feedback and only support netcoreapp
* Fix the configuration props and project files
* Address PR feedback, remove OS-specific configurations for netcoreapp
* Remove plantUML related files and add backup owner.
* Rename from JsonUtf8Reader to Utf8JsonReader within the package
description
Commit migrated from https://github.com/dotnet/corefx/commit/3af75a867043e70e0ccaa0bfe3846d1d573879ee