No, i mean, can i create json file and rename it to pkl, does it work as regular pkl file or pkl throw error? If i do this with yaml, yaml should work, because it fully compatible with json and extends it.
@x-0D commented on GitHub (Feb 6, 2024):
No, i mean, can i create json file and rename it to pkl, does it work as regular pkl file or pkl throw error? If i do this with yaml, yaml should work, because it fully compatible with json and extends it.
@bioball commented on GitHub (Feb 6, 2024):
Closing this out; feel free to start a conversation in https://github.com/apple/pkl/discussions if you want to learn more about Pkl
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @x-0D on GitHub (Feb 6, 2024).
@bioball commented on GitHub (Feb 6, 2024):
Hi, yes, Pkl can output JSON, and can also parse JSON.
@x-0D commented on GitHub (Feb 6, 2024):
No, i mean, can i create json file and rename it to pkl, does it work as regular pkl file or pkl throw error? If i do this with yaml, yaml should work, because it fully compatible with json and extends it.
@bioball commented on GitHub (Feb 6, 2024):
Ah, no. Pkl's syntax is not compatible with JSON.
@bioball commented on GitHub (Feb 6, 2024):
Closing this out; feel free to start a conversation in https://github.com/apple/pkl/discussions if you want to learn more about Pkl