Skip to content

Commit

Permalink
Add EdmMap Endec similar to NbtEndec
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Seeker committed Jan 3, 2024
1 parent efa8ed0 commit 521a11d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ public class EdmEndec implements Endec<EdmElement<?>> {

public static final EdmEndec INSTANCE = new EdmEndec();

public static final Endec<EdmMap> MAP = INSTANCE.xmap(EdmElement::asMap, edmMap -> edmMap);

private EdmEndec() {}

@Override
Expand Down

0 comments on commit 521a11d

Please sign in to comment.