JSON

  1. Serde for JSON
  2. Read and deserialize key-value pair JSON into HashMap
  3. Serialize and deserialize HashMap to JSON in Rust
  4. Deserialize JSON array - a list of string into a Vector
  5. Read Simple JSON file manually
  6. Read Simple JSON file into a struct
  7. Read JSON file using from_reader manually
  8. Read JSON file using from_reader to a struct
  9. Read complex JSON
  10. Read JSON avoid extra fields - deny_unknown_fields
  11. JSON files - missing fields
  12. Read JSON handle missing fields - set defaults
  13. Read JSON with optional fields: Option or default value?
  14. Alias some fields in JSON (handle dash in JSON keys)
  15. Read JSON to Vector
  16. Read lists of JSON structures JSON-lines
  17. JSON serialize struct
  18. Serialize struct and Deserialize JSON
  19. Read and deserialize JSON file where some fields can have arbitrary values
  20. JSON serialize examples
  21. serde manipulate json (change, add)
  22. JSON serialize struct with date