Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use serde content for token enum
BREAKING CHANGE: json output is no longer like: ```json {"token": "Ingredient", "name": "foo", "amount": "1", "unit": "gr"} ``` now: ```json {"token": "Ingredient", "content": {"name": "foo", "amount": "1", "unit": "gr"}} ``` The problem is that serde was failing to serialize enum variants that contained a single string
- Loading branch information