ToStandardJSON return a string with the JSON representation of the interface{}
(i any)
| 25 | |
| 26 | // ToStandardJSON return a string with the JSON representation of the interface{} |
| 27 | func ToStandardJSON(i any) (string, error) { |
| 28 | return ToJSON(i, "", standardIndentation) |
| 29 | } |
| 30 | |
| 31 | // ToJSON return a string with the JSON representation of the interface{} |
| 32 | func ToJSON(i any, prefix string, indentation string) (string, error) { |