def get_recid_from_ref(ref_obj):
if not isinstance(ref_obj, dict):<EOL><INDENT>return None<EOL><DEDENT>url = ref_obj.get('<STR_LIT>', '<STR_LIT>')<EOL>return maybe_int(url.split('<STR_LIT:/>')[-<NUM_LIT:1>])<EOL>
Retrieve recid from jsonref reference object.

    If no recid can be parsed, returns None.