File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -193,14 +193,14 @@ func (i *item) MarshalJSON() ([]byte, error) {
193
193
value , _ := i .value .ToUint64 ()
194
194
195
195
stat := struct {
196
- Description string
197
- Value uint64
198
- Unit string
199
- Prefixes string
200
- ReferenceValue float64
201
- LevelOfConcern float64
202
- ObjectName string `json:",omitempty"`
203
- ObjectDescription string `json:",omitempty"`
196
+ Description string `json:"description"`
197
+ Value uint64 `json:"value"`
198
+ Unit string `json:"unit"`
199
+ Prefixes string `json:"prefixes"`
200
+ ReferenceValue float64 `json:"referenceValue"`
201
+ LevelOfConcern float64 `json:"levelOfConcern"`
202
+ ObjectName string `json:"objectName ,omitempty"`
203
+ ObjectDescription string `json:"objectDescription ,omitempty"`
204
204
}{
205
205
Description : i .description ,
206
206
Value : value ,
You can’t perform that action at this time.
0 commit comments