Added the json parser function to return part.

Added the json parser function to return part info.