I think YAML actually uses more tokens than JSON without indents, especially with deep data. For example "," being a single token makes JSON quite compact.
You can compare JSON and YAML on https://platform.openai.com/tokenizer
You can compare JSON and YAML on https://platform.openai.com/tokenizer
No comments yet.