Package org.springframework.boot.configurationprocessor.metadata

Examples of org.springframework.boot.configurationprocessor.metadata.JsonMarshaller


        FileObject resource = this.processingEnv.getFiler().createResource(
            StandardLocation.CLASS_OUTPUT, "",
            "META-INF/spring-configuration-metadata.json");
        OutputStream outputStream = resource.openOutputStream();
        try {
          new JsonMarshaller().write(metadata, outputStream);
        }
        finally {
          outputStream.close();
        }
      }
View Full Code Here


      }
      InputStream inputStream = manualMetadata.openInputStream();
      try {
        ConfigurationMetadata merged = new ConfigurationMetadata(metadata);
        try {
          merged.addAll(new JsonMarshaller().read(inputStream));
        }
        catch (Exception ex) {
          throw new IllegalStateException(ex);
        }
        return merged;
View Full Code Here

TOP

Related Classes of org.springframework.boot.configurationprocessor.metadata.JsonMarshaller

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.