src/main/java/org/hyperledger/fabric/sdk/Fabrichelper.java
/**
     * Serialize AppUser object to file
     *
     * @param appUser The object to be serialized
     * @throws IOException
     */
Serialize AppUser object to file
@param appUser The object to be serialized
@throws IOException
Serialize AppUser object to file @param appUser The object to be serialized @throws IOException
static void serialize(AppUser appUser) throws IOException {
        try (ObjectOutputStream oos = new ObjectOutputStream(Files.newOutputStream(
                Paths.get(appUser.getName() + ".jso")))) {
            oos.writeObject(appUser);
        }
    }
static void serialize ( AppUser appUser ) throws IOException { try ( ObjectOutputStream oos = new ObjectOutputStream ( Files . newOutputStream ( Paths . get ( appUser . getName ( ) + ".jso" ) ) ) ) { oos . writeObject ( appUser ) ; } }
Serialize AppUser object to file
 @param appUser The object to be serialized
 @throws IOException
Serialize AppUser object to file @param appUser The object to be serialized @throws IOException