Does the given JsonObject contain a field with the given name?
(JsonObject p_151204_0_, String p_151204_1_)
| 50 | * Does the given JsonObject contain a field with the given name? |
| 51 | */ |
| 52 | public static boolean hasField(JsonObject p_151204_0_, String p_151204_1_) |
| 53 | { |
| 54 | return p_151204_0_ == null ? false : p_151204_0_.get(p_151204_1_) != null; |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Gets the string value of the given JsonElement. Expects the second parameter to be the name of the element's |
no test coverage detected