private static ChaincodeCollectionConfiguration load ( JsonArray jsonConfig ) throws InvalidArgumentException , ChaincodeCollectionConfigurationException { // Sanity check if ( jsonConfig == null ) { throw new InvalidArgumentException ( "jsonConfig must be specified" ) ; } return new ChaincodeCollectionConfiguration ( jsonConfig ) ; }
Returns a new ChaincodeCollectionConfiguration instance and populates it from the specified JSON object