@Test public void getValue() throws Exception { final Map<String, Object> actual = underTest.getValue(); assertThat(actual) .hasSize(2) .containsEntry("foo", 42) .containsEntry("bar", 32); }
@Nonnull @Override public Map<String, Object> getValue() { return ImmutableMap.copyOf(value); }
JsonObject extends JsonValue { @Nonnull @Override public Map<String, Object> getValue() { return ImmutableMap.copyOf(value); } }
JsonObject extends JsonValue { @Nonnull @Override public Map<String, Object> getValue() { return ImmutableMap.copyOf(value); } JsonObject(@Nonnull Map<String, Object> value); }
JsonObject extends JsonValue { @Nonnull @Override public Map<String, Object> getValue() { return ImmutableMap.copyOf(value); } JsonObject(@Nonnull Map<String, Object> value); @Nonnull @Override TypeName getType(); @Nonnull @Override Map<String, Object> getValue(); @Nonnull @CheckReturnValue Stream<Map.Entry<String, JsonValue>> stream(); }
JsonObject extends JsonValue { @Nonnull @Override public Map<String, Object> getValue() { return ImmutableMap.copyOf(value); } JsonObject(@Nonnull Map<String, Object> value); @Nonnull @Override TypeName getType(); @Nonnull @Override Map<String, Object> getValue(); @Nonnull @CheckReturnValue Stream<Map.Entry<String, JsonValue>> stream();  }