public void loadFromYAML(final Properties props, final InputStream is) throws IOException {
		try {
			((PrefixedProperties) props).loadFromYAML(is);
		} catch (final NoSuchMethodError err) {
			throw new IOException(
					"Cannot load properties JSON file - not using PrefixedProperties: " + err.getMessage());
		}
	}
public void loadFromYAML ( final Properties props , final InputStream is ) throws IOException { try { ( ( PrefixedProperties ) props ) . loadFromYAML ( is ) ; } catch ( final NoSuchMethodError err ) { throw new IOException ( "Cannot load properties JSON file - not using PrefixedProperties: " + err . getMessage ( ) ) ; } }
Loads from json.

@param props
the props
@param is
the is
@throws IOException
Signals that an I/O exception has occurred.