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

What's the text encoding for the Metadata JSON? #7

Open
plutoscarab opened this issue Oct 3, 2019 · 1 comment
Open

What's the text encoding for the Metadata JSON? #7

plutoscarab opened this issue Oct 3, 2019 · 1 comment

Comments

@plutoscarab
Copy link

Is it UTF-8, ASCII, something else?

@plutoscarab
Copy link
Author

I see that JSON spec requires UTF-8, but I have a different question. Looking at sample terrain tiles served from Cesium, I see that the metadata body has it's own nested length header, e.g. 68 bytes of JSON has an extension length of 72, which includes the 68 bytes plus 4-byte header with the integer value 68. That's not clear in the spec.

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

No branches or pull requests

1 participant