Closed zhwaaaaaa closed 3 years ago
@zhwaaaaaa do u mean hessian2 should write Null for empty map, but now it get BC_MAP_UNTYPED+BC_END?
now get null for empty map. but BC_MAP_UNTYPED+BC_END expected
@zhwaaaaaa u r correct, can u submit a PR for it?
ok
v1.9.2 map.go line 120. null is not expected. instead of empty map (BC_MAP_UNTYPED+BC_END) ` keys = value.MapKeys() if len(keys) == 0 { // fix: set nil for empty map e.buffer = EncNull(e.buffer) return nil }