Good question!
Jevko itself, defined by the spec, is not the same as a format based on Jevko.
If you use a plain spec-compliant Jevko parser you for this you indeed should have all whitespace included. Although it will look more like this:
{
subjevkos: [
{ prefix: "first name ", jevko: { subjevkos: [Array], suffix: "John" } },
{ prefix: "\nlast name ", jevko: { subjevkos: [Array], suffix: "Smith" } },
{ prefix: "\nis alive ", jevko: { subjevkos: [Array], suffix: "true" } },
{ prefix: "\nage ", jevko: { subjevkos: [Array], suffix: "27" } },
{ prefix: "\naddress ", jevko: { subjevkos: [Array], suffix: "\n" } }
],
suffix: ""
}
Now on top of that you can build a format that specifies what happens to whitespace, etc. Usually you'd want it trimmed if the prefixes mean keys in a map.
The simplest format/library that does just that is this:
* https://github.com/jevko/easyjevko.lua
* https://github.com/jevko/easyjevko.js
That will give you the JSON (or equivalent) that you expect (with autotrimmed keys).