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) {
193193 value , _ := i .value .ToUint64 ()
194194
195195 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"`
204204 }{
205205 Description : i .description ,
206206 Value : value ,
You can’t perform that action at this time.
0 commit comments