Created
November 2, 2019 16:24
-
-
Save amalantony/2318816df78053694c130ebd9256dee5 to your computer and use it in GitHub Desktop.
Generated json and toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"components":{ | |
"gps":{ | |
"rule2":{ | |
"filters":{ | |
"message_type":"gll" | |
}, | |
"latitude":"data.split(\",\")[1]", | |
"longitude":"data.split(\",\")[2]" | |
}, | |
"rule12":{ | |
"filters":{ | |
"message_type":"gll" | |
}, | |
"latitude":"data.split(\",\")[1]", | |
"longitude":"data.split(\",\")[2]" | |
} | |
}, | |
"can":{ | |
"rule20":{ | |
"filters":{ | |
"can_id":"0x123" | |
}, | |
"foo":"some_random_forumla" | |
} | |
} | |
} | |
} | |
[components.gps.rule2] | |
latitude = 'data.split(",")[1]' | |
longitude = 'data.split(",")[2]' | |
[components.gps.rule2.filters] | |
message_type = "gll" | |
[components.gps.rule12] | |
latitude = 'data.split(",")[1]' | |
longitude = 'data.split(",")[2]' | |
[components.gps.rule12.filters] | |
message_type = "gll" | |
[components.can.rule20] | |
foo = "some_random_forumla" | |
[components.can.rule20.filters] | |
can_id = "0x123" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment