From 2da797ecbb6662320c85b0c098b083609117f472 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Mon, 4 May 2020 18:54:43 +0900 Subject: [PATCH] Update README.md --- README.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/README.md b/README.md index 48e8f25..acb7159 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,57 @@ Fast JSON encoder/decoder compatible with encoding/json for Go WIP +## API + +- [ ] `Compact` +- [ ] `HTMLEscape` +- [ ] `Indent` +- [x] `Marshal` +- [x] `MarshalIndent` +- [x] `Unmarshal` +- [ ] `Valid` +- [x] `NewDecoder` +- [x] `(*Decoder).Buffered` +- [x] `(*Decoder).Decode` +- [ ] `(*Decoder).DisallowUnknownFields` +- [ ] `(*Decoder).InputOffset` +- [ ] `(*Decoder).More` +- [ ] `(*Decoder).Token` +- [ ] `(*Decoder).UseNumber` +- [ ] `Delim` +- [ ] `(Delim).String` +- [x] `NewEncoder` +- [x] `(*Encoder).Encode` +- [x] `(*Encoder).SetEscapeHTML` +- [x] `(*Encoder).SetIndent` + +## Type + +### Encoder + +- [x] `int`, `int8`, `int16`, `int32`, `int64` +- [x] `uint`, `uint8`, `uint16`, `uint32`, `uint64` +- [x] `float32`, `float64` +- [x] `string` +- [x] `struct` +- [x] `array` +- [x] `slice` +- [x] `map` +- [x] `interface{}` +- [x] `MarshalJSON` +- [x] `MarshalText` + +### Decoder + +- [x] `int`, `int8`, `int16`, `int32`, `int64` +- [x] `uint`, `uint8`, `uint16`, `uint32`, `uint64` +- [x] `float32`, `float64` +- [x] `string` +- [x] `struct` +- [x] `array` +- [x] `slice` +- [x] `map` + # Benchmarks ```