Skip to content

Conversation

@alexatcanva
Copy link
Contributor

Heya Team 👋

While trying to give sjsonnet a whirl, we noticed a few of our std.parseYaml calls were failing if they included multi doc YAML. (deliminated by the old ---).

This PR allows the yamlToJson function to parse these files/YAML streams and return the appropriate JSON string.

I'm a first time contributor to this repo, and furthermore it's my first time writing Scala.

Please do let me know if there's a better way to accomplish this, I'm more than happy to work through any of the feedback I receive!

Thanks!

@alexatcanva
Copy link
Contributor Author

Heya @lihaoyi-databricks 👋

Is there any chance I could please get a review on this one? ❤️ Thanks!

@stephenamar-db stephenamar-db self-requested a review December 2, 2024 06:32
@stephenamar-db stephenamar-db force-pushed the alexb/allow-multi-documents branch from adf35f6 to 14e3bb1 Compare December 6, 2024 17:21
@stephenamar-db stephenamar-db merged commit d949e7b into databricks:master Dec 6, 2024
1 check passed
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.

3 participants