nitweb: serialize POSetElement to JSON
authorAlexandre Terrasa <alexandre@moz-code.org>
Sat, 17 Jun 2017 20:48:41 +0000 (16:48 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Tue, 15 Aug 2017 18:15:45 +0000 (14:15 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/web/web_base.nit

index 8fff328..d85b3f8 100644 (file)
@@ -341,11 +341,9 @@ end
 redef class POSetElement[E]
        super Serializable
 
-       redef fun serialize_to(v) do
+       redef fun core_serialize_to(v) do
                assert self isa POSetElement[MEntity]
-               v.serialize_attribute("greaters", to_mentity_refs(greaters))
                v.serialize_attribute("direct_greaters", to_mentity_refs(direct_greaters))
                v.serialize_attribute("direct_smallers", to_mentity_refs(direct_smallers))
-               v.serialize_attribute("smallers", to_mentity_refs(smallers))
        end
 end