@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
35 lines (22 loc) • 967 B
Markdown
lang: en
title: 'API docs: context.context.inspect'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.context.inspect.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [Context](./context.context.md) > [inspect](./context.context.inspect.md)
## Context.inspect() method
Inspect the context and dump out a JSON object representing the context hierarchy
<b>Signature:</b>
```typescript
inspect(options?: ContextInspectOptions): JSONObject;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | [ContextInspectOptions](./context.contextinspectoptions.md) | Options for inspect |
<b>Returns:</b>
[JSONObject](./context.jsonobject.md)