molon

Results 12 issues of molon

- add listKey/itemKey to support nesting - add nesting example (discord channel tree clone) Because `_ReorderableItemState` needs to be public, `ReorderableItemState` is renamed `ReorderableItemDisplayState`, which is a broken change.

https://github.com/json-iterator/go/blob/e6b9536d3649bda3e8842bb7e4fab489d79a97ea/reflect_extension.go#L348-L375 ``` func TestAnonymous(t *testing.T) { type Body struct { Content string `json:"content"` } type Wrapper struct { *Body Other string `json:"other"` } jsoniter.RegisterTypeEncoderFunc("Body", func(ptr unsafe.Pointer, stream *jsoniter.Stream) { stream.WriteObjectStart()...

**What version of protobuf and what language are you using?** Version: `v1.28.1` **What did you do?** ``` syntax = "proto3"; package test.v1; import "google/protobuf/wrappers.proto"; message Message { string id =...

Although it is feasible to rely on `close(ch.In)` to cancel the process, it is necessary to ensure that `close(ch.In)` must be executed after `ch.In

If I try to clone a plugin, always get ``` W/1.ui ( 5968): type=1400 audit(0.0:1598): avc: denied { link } for name="HEAD.lock" dev="dm-4" ino=8175 scontext=u:r:untrusted_app:s0:c153,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0 app=com.ero.kinoko I/flutter...

https://github.com/gsioteam/xml_layout/blob/1c6fc360f0edabcb1213fbef6a4186e8f247449e/lib/builder/builder.dart#L297-L299 `TextStyle.inherit` `AppBar.automaticallyImplyLeading` `AppBar.primary` and so on. I tried to debug the issue and found `ParameterElement.hasDefaultValue` is not correct some times.

Sorry, this may not be a very formal pr, as I'm working on [molon/jsoniterpb](https://github.com/molon/jsoniterpb). But completing it must require higher extensibility. I can only try to support it according to...

``` func Test_customize_map_key_encoder(t *testing.T) { should := require.New(t) cfg := jsoniter.Config{}.Froze() cfg.RegisterExtension(&testMapKeyExtension{}) m := map[int]int{1: 2} b, err := cfg.MarshalIndent(m, "", " ") should.NoError(err) should.Equal(`{ "2": 2 }`, string(b)) cfg...

``` // Keys returns all keys as []string func (m ConcurrentMap[V]) Keys() []string { count := m.Count() ch := make(chan string, count) go func() { // Foreach shard. wg :=...

The document show that `results will not be "in order"`, but the current implementation seems to be `in order`.