@@ -64,7 +64,8 @@ Serde Valid support standard validation based JSON Schema.
6464
6565## Complete Constructor (Deserialization)
6666
67- Serde Valid support complete constructor method using by [ ` serde_valid::json::FromJsonValue ` ] ( json::FromJsonValue ) trait.
67+ Serde Valid support complete constructor method using by
68+ [ ` serde_valid::json::FromJsonValue ` ] ( json::FromJsonValue ) trait.
6869
6970``` rust
7071use serde :: Deserialize ;
@@ -94,7 +95,8 @@ assert_eq!(
9495);
9596```
9697
97- You can force validation by only deserialization through ` serde_valid ` , and removing ` serde_json ` from ` Cargo.toml ` of your project.
98+ You can force validation by only deserialization through ` serde_valid ` , and removing
99+ ` serde_json ` from ` Cargo.toml ` of your project.
98100
99101## Serialization
100102
@@ -355,9 +357,7 @@ assert!(s.validate().is_ok());
355357```
356358
357359## Validation Errors Format
358-
359360### Named Struct
360-
361361Field errors are output to ` properties ` .
362362
363363``` rust
@@ -387,8 +387,8 @@ assert_eq!(
387387```
388388
389389### Unnamed Struct
390-
391- Field errors are output to ` items ` . The key for ` items ` is guaranteed to be a string of positive numbers.
390+ Field errors are output to ` items ` . The key for ` items ` is guaranteed to be a string of positive
391+ numbers.
392392
393393``` rust
394394use serde_json :: json;
@@ -420,7 +420,6 @@ assert_eq!(
420420```
421421
422422### New Type
423-
424423Field errors are output to ` errors ` .
425424
426425``` rust
@@ -444,7 +443,6 @@ assert_eq!(
444443```
445444
446445### Named Enum
447-
448446Variant errors are output to ` properties ` .
449447
450448``` rust
@@ -481,8 +479,8 @@ assert_eq!(
481479```
482480
483481### Unnamed Enum
484-
485- Variant errors are output to ` items ` . The key for ` items ` is guaranteed to be a string of positive numbers.
482+ Variant errors are output to ` items ` . The key for ` items ` is guaranteed to be a string of
483+ positive numbers.
486484
487485``` rust
488486use serde_json :: json;
@@ -516,7 +514,6 @@ assert_eq!(
516514```
517515
518516### Newtype Enum
519-
520517Variant errors are output to ` errors ` .
521518
522519``` rust
0 commit comments