Missing support for pulling formatted ("beautified") Json
- Dominant language
- C#
- Stars
- 0
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
#### Description:
Json that is entirely formatted (beautified) or partly formatted is not read correctly by the Serialized, and therefore the File adapter fails the Pull. This only worked a long time ago so it could be considered a "new feature" or a bug depending on how you want to see it.
#### Steps to reproduce:
Try Pulling the following json file:
[objects_beautified.json](https://github.com/user-attachments/files/15873108/objects_beautified.json)
This used to work at [this stage](https://github.com/BHoM/File_Toolkit/pull/86#issuecomment-724085540) but has been considered an "extra" for a long time so it was not retained as a working feature following later changes.
#### Expected behaviour:
Much of this is to do with how our Serializer work and if it supports formatted text. Standard Newtonsoft does, but I always had trouble with ours.
#### Test file(s):
Contributor guide
Assessment
This issue has not been assessed yet.