I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [ ] Bug report
- [ ] Performance issue
- [x] Documentation issue or request
Current behavior
This page:
https://docs.squidex.io/02-documentation/software-development-kits/.net-standard#1.-create-your-class-model
explains how to create a model, but doesn’t include the usings. When you copy paste the class in your editor, the first using suggested by IntelliSense is System.Text.Json.Serialization
With this using, the code compiles but there is a runtime exception when serializing/deserializing.
It took me a while to figure out this was the issue!
Expected behavior
The doc should state to use Newtonsoft.Json and not the other one