crwdns130135:0crwdne130135:0

crwdns130137:0crwdne130137:0

crwdns130139:0crwdne130139:0

{
    "underlined":true,
    "color":"red",
    "text":"Hello World!"
}

crwdns130141:0crwdne130141:0

import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.format.TextColors;
import org.spongepowered.api.text.format.TextStyles;
import org.spongepowered.api.text.serializer.TextSerializers;

Text text = Text.of(TextColors.RED, TextStyles.UNDERLINE, "Hello World!");
String jsonText = TextSerializers.JSON.serialize(text);