Commit Graph
17 Commits
Author SHA1 Message Date
Layomi Akinrinade a43d6c4dc3 Add spec: deserializing objects with parameterized ctors (#33095)
* Add spec: deserializing objects with parameterized ctors

* State updated parameter-JSON matching proposal

* Address review feedback and add more notes about matching behavior

* Update spec with thoughts following spec review

* Fix typo
2020-03-20 15:59:24 -07:00
Ahson Khan 7c6230394b Fix typo in S.T.J namespace in the writable dom spec (#32345) 2020-02-14 16:33:55 -08:00
David CantuandAhson Khan 1a1a541954 Add specification for ReferenceHandling (#354)
* Add specification for ReferenceHandling

* Address more feedback, corrected types, and included table of contents

* Add missing access modifiers to class properties
Add note about immutable types

* Apply suggestions from code review

Co-Authored-By: Ahson Khan <[email protected]>

* Apply more suggestions from code review

Co-Authored-By: Ahson Khan <[email protected]>

* Add PR suggestions.

* Apply even more suggestions from code review

Co-Authored-By: Ahson Khan <[email protected]>

* Add missing semi colons on samples and standardize error messages on $values

Co-Authored-By: Ahson Khan <[email protected]>

* Address changes discussed on API review

* Add note to describe unsupported round-tripping capability on JsonExtensionData.

* Replace i.e. for e.g. where meant to quote an example.

Co-authored-by: Ahson Khan <[email protected]>
2020-02-06 10:54:06 -05:00
Katarzyna Bułat 36b6c52ddc JSON DOM refactor (dotnet/corefx#41041)
* work on review comments, documentation changes included

* work on including review comments

* work on including review comments

* StringComparison methods improvements

* work on adressing review comments

* helping comment added

* StringComparison tests improved to check all enum values

* setting CurrentCulture test added

* review comments included

* build fixes

* CurrentCulture test removed

* Address nits and react to recent API changes.


Commit migrated from https://github.com/dotnet/corefx/commit/a0f71fa14ecd17c6aee146b8ef76aaec0dd389ed
2019-11-13 16:14:02 -08:00
Stefan 7236d07680 Tiny typo in polymorphic (dotnet/corefx#41678)
Tiny typo in polymorphic

Commit migrated from https://github.com/dotnet/corefx/commit/30b2d788a1687e8aded0ba51a6122635a4d2eb1a
2019-10-09 06:24:39 -07:00
FyiurAmron f029c0920e Fix naming of System.Text.Json methods in docs (dotnet/corefx#41562)
Commit migrated from https://github.com/dotnet/corefx/commit/81dfdbcad0937707346cadc3968c0c67241c64f8
2019-10-07 11:51:44 -04:00
oleggolovkovuss 31fc967220 Fixing outdated method name (dotnet/corefx#41285)
.Net Core release notes lead to this sample for JSON serializing, it's using non-existent static `ToString` method though, this changes updates the docs

Commit migrated from https://github.com/dotnet/corefx/commit/629eea822f258f8d5771b96286eba8ff8c89d997
2019-09-24 12:54:36 -07:00
Katarzyna Bułat 45c74fe7bf Writable JSON API changes (dotnet/corefx#40673)
* implicit operators moved to JsonNode
* JsonNull introduced
* JsonObject rewritten to use JsonObjectProperty
* JsonElement.ObjectEnumerator changed to use _current instead of _enumerator
* iterative DeepCopy implemented
* code reorganized
* parse implemented
* JsonDocumentOptions added to JsonNode.Parse
* WriteTo and ToJsonString added
* specification adjusted
* string comparison added
* JsosReadonlyDomWriteTests reused
* code coverage improved
* minor other fixes
* review comments included

Commit migrated from https://github.com/dotnet/corefx/commit/37b37395481b635c15eaa3454e52b72ab91de4ef
2019-09-09 14:53:38 -07:00
Katarzyna Bułat c3afc7f573 JsonArray and transformations API implementation (dotnet/corefx#40469)
* JsonArray added
* Transformations API added
* Review Comments included

Commit migrated from https://github.com/dotnet/corefx/commit/ad4fdd9cd3d99d0240fa53b9b7bdc23bb7a3f4a8
2019-08-26 15:51:04 -07:00
Katarzyna Bułat 1ca7ec170b JsonObject implementation and tests (dotnet/corefx#40206)
* JsonObject implementation added
* JsonObject tests added
* JsonObject documentation added
* Review comments included

Commit migrated from https://github.com/dotnet/corefx/commit/ceaad9274f83273a4c95ec08b359253ad28bea1e
2019-08-14 15:19:05 -07:00
Katarzyna Bułat 327eb72cb8 Add spec for writable JSON DOM (dotnet/corefx#39954)
* Specification (dotnet/corefx#4)

* specification consisting of following sections added:
  - introduction
  - goals
  - todos
  - example scenarios
  - design choices
  - implementation details
  - open questions
  - useful links
* review comments included

Commit migrated from https://github.com/dotnet/corefx/commit/7ec39540d1964e231670ad731532e42f39913359
2019-08-09 14:56:33 -07:00
Maryam Ariyan 9ba8b91360 Make JsonPropertyNameAttribute.Name readonly (dotnet/corefx#37829)
Rename ctor arg to name

Fixes: dotnet/corefx#37552

Commit migrated from https://github.com/dotnet/corefx/commit/e8990ae04e4ef62f5ccb143352472c9b4d5d5968
2019-05-28 12:27:20 -07:00
Randolph West 09464d8cad Update SerializerProgrammingModel.md (dotnet/corefx#37478)
"Supprt" typo.

Commit migrated from https://github.com/dotnet/corefx/commit/6a53eef1e3cdacada60ec9a70d6a48a23bd0e062
2019-05-06 22:54:03 +02:00
Steve Harter f114bb011f Update doc for Preview 5 (dotnet/corefx#37433)
Commit migrated from https://github.com/dotnet/corefx/commit/214f424c1821c4b8979b37762098defe17ac0db6
2019-05-03 16:03:07 -07:00
Steve Harter b7f36fe90b Update API based on review (dotnet/corefx#36385)
Commit migrated from https://github.com/dotnet/corefx/commit/bfdc19995af287c2028c59cbbeee1497d1e34e58
2019-03-26 16:10:28 -07:00
Steve Harter bb2bbe3c61 Add ignore and propertyname features (dotnet/corefx#36353)
Commit migrated from https://github.com/dotnet/corefx/commit/f4fa8a1c44d1d675d7f60e320f36da195ab56633
2019-03-25 17:09:49 -07:00
Steve Harter ef1f03c11d Add serializer programming model doc (dotnet/corefx#36259)
Commit migrated from https://github.com/dotnet/corefx/commit/3e9860314a67d13885c19f11918aa711f1912f18
2019-03-23 11:50:51 -07:00