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

Implement data.yaml module #4

Merged
merged 99 commits into from
Aug 2, 2024
Merged

Implement data.yaml module #4

merged 99 commits into from
Aug 2, 2024

Conversation

LakshanWeerasinghe
Copy link
Contributor

Purpose

This PR contains all the functionalities that we are going to provide with data.yaml ballerina library. Key features of this Library are,

  • parseString, parseBytes and parseStream apis users can use to create Ballerina values with or without Projection.
  • parsing support for both yaml documents and yaml stream of documents.
  • Support for Fail Safe, JSON, Core Schema parsing using options.
  • toYamlString library to convert a Ballerina value to a yaml string.
  • Compile time expected type checking for parse apis.

Fixes: library-issue-6089

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility

ballerina/yaml_api.bal Outdated Show resolved Hide resolved
ballerina/yaml_api.bal Outdated Show resolved Hide resolved
ballerina/yaml_api.bal Outdated Show resolved Hide resolved
native/build.gradle Outdated Show resolved Hide resolved
@prakanth97 prakanth97 requested a review from MaryamZi July 31, 2024 06:50
README.md Show resolved Hide resolved
prakanth97
prakanth97 previously approved these changes Jul 31, 2024
Copy link

@prakanth97 prakanth97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

SasinduDilshara
SasinduDilshara previously approved these changes Aug 1, 2024
prakanth97
prakanth97 previously approved these changes Aug 1, 2024
Copy link

@dulajdilshan dulajdilshan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@LakshanWeerasinghe LakshanWeerasinghe merged commit 0659427 into main Aug 2, 2024
7 checks 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.

Implement data.yaml module
4 participants