com.github.dreamhead.moco.parser.GlobalSettingParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moco-runner Show documentation
Show all versions of moco-runner Show documentation
Moco is an easy setup stub framework, mainly focusing on testing and integration.
package com.github.dreamhead.moco.parser;
import com.github.dreamhead.moco.parser.model.GlobalSetting;
import com.github.dreamhead.moco.util.Jsons;
import com.google.common.collect.ImmutableList;
import java.io.InputStream;
public final class GlobalSettingParser {
public ImmutableList parse(final InputStream is) {
return Jsons.toObjects(is, GlobalSetting.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy