Package io.spring.initializr.web.mapper
Interface InitializrMetadataJsonMapper
- All Known Implementing Classes:
InitializrMetadataV21JsonMapper
,InitializrMetadataV22JsonMapper
,InitializrMetadataV2JsonMapper
public interface InitializrMetadataJsonMapper
Generate a JSON representation of the metadata.
- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionwrite
(InitializrMetadata metadata, String appUrl) Write a json representation of the specified metadata.
-
Method Details
-
write
Write a json representation of the specified metadata.- Parameters:
metadata
- the initializr metadataappUrl
- the app URL- Returns:
- the JSON representation
-