Skip to content

Allow Complex JSON as Template input - #47

Open
Sefriol wants to merge 1 commit into
Azure-Samples:masterfrom
Sefriol:feature/json-template
Open

Allow Complex JSON as Template input#47
Sefriol wants to merge 1 commit into
Azure-Samples:masterfrom
Sefriol:feature/json-template

Conversation

@Sefriol

@Sefriol Sefriol commented Jun 14, 2023

Copy link
Copy Markdown

Purpose

  • Previously nested and array JSON was converted to flat dictionary if it were not provided as a string to telemetry. This allows to store different and complex payloads much more nicely.

Does this introduce a breaking change?

[ ] Yes
[ x ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ x ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
git clone git@github.com:Sefriol/Iot-Telemetry-Simulator.git
cd Iot-Telemetry-Simulator
git checkout feature/json-template
  • Test the code

Run the unit tests.

What to Check

Verify that all tests pass

Other Information

I had only Net6.0 and 7.0 on my computer and project build initially complained about multiple StyleCop configurations, so I am uncertain if everything is in order.

@Sefriol

Sefriol commented Jun 14, 2023

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Previously nested and array JSON was converted to flat dictionary.
@Sefriol
Sefriol force-pushed the feature/json-template branch from 3757ec8 to 79bf1f5 Compare June 14, 2023 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant