Implement json snippet view with callback