Use abstract JsonMethods.