@@ -19,8 +19,7 @@ public class NodeStats
1919 public string Hostname { get ; internal set ; }
2020
2121 [ JsonProperty ( "indices" ) ]
22- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
23- public Dictionary < string , NodeStatsIndexes > Indices { get ; internal set ; }
22+ public NodeStatsIndexes Indices { get ; internal set ; }
2423
2524 [ JsonProperty ( "os" ) ]
2625 public OSStats OS { get ; internal set ; }
@@ -32,8 +31,9 @@ public class NodeStats
3231 public JVM JVM { get ; internal set ; }
3332
3433 [ JsonProperty ( "thread_pool" ) ]
35- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
36- public Dictionary < string , ThreadCountStats > ThreadPool { get ; internal set ; }
34+ [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
35+ public Dictionary < string , ThreadCountStats > ThreadPool { get ; internal set ; }
36+
3737
3838 [ JsonProperty ( "network" ) ]
3939 public NetworkStats Network { get ; internal set ; }
@@ -233,8 +233,8 @@ public class JVM : UptimeStats
233233 [ JsonProperty ( "gc" ) ]
234234 public GCOverallStats GC { get ; internal set ; }
235235 [ JsonProperty ( "buffer_pools" ) ]
236- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
237- public Dictionary < string , NodeBufferPool > BufferPools { get ; internal set ; }
236+ [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
237+ public Dictionary < string , NodeBufferPool > BufferPools { get ; internal set ; }
238238
239239 [ JsonObject ]
240240 public class MemoryStats
@@ -256,15 +256,15 @@ public class MemoryStats
256256 [ JsonProperty ( "non_heap_committed_in_bytes" ) ]
257257 public long NonHeapCommittedInBytes { get ; internal set ; }
258258 [ JsonProperty ( "pools" ) ]
259- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
260- public Dictionary < string , JVMPool > Pools { get ; internal set ; }
259+ [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
260+ public Dictionary < string , JVMPool > Pools { get ; internal set ; }
261261
262262 [ JsonObject ]
263263 public class JVMPool
264264 {
265265 [ JsonProperty ( "used" ) ]
266266 public string Used { get ; internal set ; }
267- [ JsonProperty ( "used_in_bytes " ) ]
267+ [ JsonProperty ( "" ) ]
268268 public long UsedInBytes { get ; internal set ; }
269269 [ JsonProperty ( "max" ) ]
270270 public string Max { get ; internal set ; }
@@ -294,8 +294,8 @@ public class ThreadStats
294294 public class GCOverallStats : GarbageCollectorStats
295295 {
296296 [ JsonProperty ( "Collectors" ) ]
297- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
298- public Dictionary < string , GarbageCollectorStats > collectors { get ; internal set ; }
297+ [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
298+ public Dictionary < string , GarbageCollectorStats > collectors { get ; internal set ; }
299299 }
300300
301301 [ JsonObject ]
0 commit comments