mirror of
https://github.com/json-iterator/go.git
synced 2024-11-24 08:22:14 +02:00
good enough indent implementation
This commit is contained in:
parent
962a8cd303
commit
925df245d3
@ -175,5 +175,5 @@ func (adapter *AdaptedEncoder) Encode(val interface{}) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (adapter *AdaptedEncoder) SetIndent(prefix, indent string) {
|
func (adapter *AdaptedEncoder) SetIndent(prefix, indent string) {
|
||||||
// not implemented yet
|
adapter.stream.IndentionStep = len(indent)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user