All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.urjc.etsii.grafo.io.serializers.json.JSONConfig Maven / Gradle / Ivy

package es.urjc.etsii.grafo.io.serializers.json;

import es.urjc.etsii.grafo.annotation.SerializerSource;
import es.urjc.etsii.grafo.io.serializers.AbstractSolutionSerializerConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;

@SerializerSource
@ConfigurationProperties(prefix = "serializers.solution-json")
public class JSONConfig extends AbstractSolutionSerializerConfig {
    /**
     * If pretty is true, the json file has multiple indented lines
     */
    private boolean pretty = true;


    /**
     * 

isPretty.

* * @return a boolean. */ public boolean isPretty() { return pretty; } /** *

Setter for the field pretty.

* * @param pretty a boolean. */ public void setPretty(boolean pretty) { this.pretty = pretty; } @Override public String toString() { return "{" + "pretty=" + pretty + '}'; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy