diff --git a/0001-support-json-result-format.patch b/0001-support-json-result-format.patch new file mode 100644 index 0000000..8dc05f9 --- /dev/null +++ b/0001-support-json-result-format.patch @@ -0,0 +1,9 @@ +37a38 +> Raw json.RawMessage `bson:"raw" json:"raw"` // Device sensor raw data value +50a52 +> Raw json.RawMessage `json:"raw"` // Device sensor raw data value +67a70,73 +> test.Raw = []byte(r.Value) +> if json.Valid(test.Raw) == false { +> test.Raw = []byte("{}") +> } diff --git a/README.md b/README.md index 0bb5d0b..9195ba2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ -# edgex-go -edgex-go +##### The repository contains patches provided by Advantech