@Immutable public interface PublicKey extends JsonReadable, JsonPatchable
JsonReadable, that's how you can get its full
details in JSON format. For example, to get its title,
you get the entire JSON and then gets its element:
String title = key.json().getString("title");
However, it's better to use a supplementary "smart" decorator, which automates most of these operations:
String title = new PublicKey.Smart(comment).title();
|Modifier and Type||Interface and Description|
Smart PublicKey with extra features.
Copyright © 2012–2015 jcabi.com. All rights reserved.