I have created a coin by forking bitcoin, now i want to create webwallet for this but do not know how to create json-rpc apis to communicate with deamon server. 
Is there any proper documentation for this?