Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to transform generic json data to sparkplug #519

Open
1 task done
MennoK opened this issue Mar 19, 2024 · 0 comments
Open
1 task done

Question: How to transform generic json data to sparkplug #519

MennoK opened this issue Mar 19, 2024 · 0 comments
Labels
question Further information is requested

Comments

@MennoK
Copy link

MennoK commented Mar 19, 2024

What do you want to know?

I'm trying to figure out how to transform 'generic' nested json data to sparkplug payload. I understand that the template datetype can be used in a nested way, but I struggle to transform the array types.

Could someone give a suggestion how to do this?

For example:

{
 "my_metric": {
     "a": 1.0,
     "b": {
         "c": "hello",
         "d": "world"
      },
     "e": [{"f": 1, "g": 2}, 
           {"f": 3, "g": 4}]
  }
}

Is this related to a Sparkplug Listing request? If so, link the issue from https://github.com/eclipse-sparkplug/sparkplug.listings here.

No response

Version

3.0.0 (Default)

Accept EFTL Terms

  • I agree to the terms of EFTL
@MennoK MennoK added the question Further information is requested label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant