fix doc code in extra::json