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

Metadata.toString() returns a super complecated JSON string #375

Open
kazurayam opened this issue Nov 28, 2022 · 0 comments
Open

Metadata.toString() returns a super complecated JSON string #375

kazurayam opened this issue Nov 28, 2022 · 0 comments

Comments

@kazurayam
Copy link
Owner

kazurayam commented Nov 28, 2022

println metadata.toString() emits

{"step":{"key":"step","value":"01","matchedByAster":true}, "URL.host":{"key":"URL.host","value":"kazurayam.github.io","matchedByAster":true}, "URL.path":{"key":"URL.path","value":"/materialstore/images/tutorial/03_apple.png","matchedByAster":true}, "URL.port":{"key":"URL.port","value":"80","matchedByAster":true}, "URL.protocol":{"key":"URL.protocol","value":"https","matchedByAster":true}}

println metadata.getMetadataIdentification().toString() emits

{"step":"01", "URL.host":"kazurayam.github.io", "URL.path":"/materialstore/images/tutorial/03_apple.png", "URL.port":"80", "URL.protocol":"https"}

This value is returned by MetadataIdentification#toString()

Is this OK?

I would want metadata.toString() to emit the short string {"step":"01", "URL.host":"kazurayam.github.io", "URL.path":"/materialstore/images/tutorial/03_apple.png", "URL.port":"80", "URL.protocol":"https"}.

It is intuitive, better

@kazurayam kazurayam changed the title com.kazurayam.materialstore.core.filesystem.metadata.MetadataIdentification --- what is this? why it is there? is it necessary? com.kazurayam.materialstore.core.filesystem.metadata.MetadataIdentification --- what is this? why is it there? Nov 28, 2022
@kazurayam kazurayam changed the title com.kazurayam.materialstore.core.filesystem.metadata.MetadataIdentification --- what is this? why is it there? Metadata.toString() returns a super complecated JSON string Nov 29, 2022
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