from typing import Optional
from typing import Any
import json


def get_json_body(event) -> Optional[Any]:
    """Return the body as JSON object, if present; otherwise it will return None
    
    Args:
        event: the AWS Lambda event object

    Returns:
        a dictionary containing the deserialized JSON content included in the body section
    
    """
    body = event.get("body")
    if body:
        return json.loads(body)
    return None