With proto3 you can do this using JsonFormat. It parses directly from the JSON representation, so there is no need for separately calling MyMessage.parseFrom(...)
. Something like this should work:
JsonFormat.parser().merge(json_string, builder);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…