MCPcopy
hub / github.com/emirpasic/gods / JSONSerializer

Interface JSONSerializer

containers/serialization.go:8–13  ·  view source on GitHub ↗

JSONSerializer provides JSON serialization

Source from the content-addressed store, hash-verified

6
7// JSONSerializer provides JSON serialization
8type JSONSerializer interface {
9 // ToJSON outputs the JSON representation of containers's elements.
10 ToJSON() ([]byte, error)
11 // MarshalJSON @implements json.Marshaler
12 MarshalJSON() ([]byte, error)
13}
14
15// JSONDeserializer provides JSON deserialization
16type JSONDeserializer interface {

Callers 8

TestMapSerializationFunction · 0.65
TestMapSerializationFunction · 0.65
ToJSONMethod · 0.65
TestMapSerializationFunction · 0.65
TestMapSerializationFunction · 0.65
ToJSONMethod · 0.65
TestMapSerializationFunction · 0.65
TestQueueSerializationFunction · 0.65

Implementers 15

Mapmaps/treebidimap/treebidimap.go
Mapmaps/linkedhashmap/linkedhashmap.go
Mapmaps/hashbidimap/hashbidimap.go
Mapmaps/hashmap/hashmap.go
Mapmaps/treemap/treemap.go
Queuequeues/circularbuffer/circularbuffer.g
Queuequeues/linkedlistqueue/linkedlistqueue
Queuequeues/priorityqueue/priorityqueue.go
Queuequeues/arrayqueue/arrayqueue.go
Treetrees/avltree/avltree.go
Treetrees/btree/btree.go
Treetrees/redblacktree/redblacktree.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…